Username:   
Password:      

Pokemon Creed Forums < Sunkern's Studying Session < PHP: Formula Algorithms?
PHP: Formula Algorithms?
Favorite Thread Post Reply
PHP: Formula Algorithms?
July 25, 2015 7:27:33pm
    Post: #1 
[-]
PHP: Formula Algorithms?
I'm decent with PHP, but I'm not so well with Formula Algorithms...
I've had things in mind like this:


<?php
$randint = 2147483647;
$something = floor(pow($randint,1/2));

$final = floor(pow($something,1/3)) - 13;

$exp = floor(pow($randint,1/3)) * $final;
echo $exp;
?>

In the end, the "echo" should spit out: 28,380
Your thoughts/ideas on any Algorithm?

"Don't beg for things. Do it yourself, or else you won't get anything."
#Billers If you're not a Biller, don't join.
Thank this message
Quote this message in a reply
Post Reply


[-]
Board Statistics
Board Statistics
Our members have made a total of 525,520 posts in 39,152 threads (excluding the 'Miscellaneous' forum catergory, deleted posts and hidden forum sections).
We currently have 342,270 members registered on this Online Pokemon RPG.



© 2010 - 2019 Pokemon Creed Forums - Online Pokemon RPG / MMORPG - Server side coded by Alan and theme designed by Azagthoth. [Back To Top]