rohitmanglik Posted January 14, 2010 Share Posted January 14, 2010 For very large numbers php converts the number in exponential form. How can i convert it back to decimal form. e.g. <?php $input =50; $res = pow($input,$input); echo $res; ?> Here how can i have output in decimal format. Link to comment https://forums.phpfreaks.com/topic/188459-expo-to-decimal-format/ Share on other sites More sharing options...
JAY6390 Posted January 14, 2010 Share Posted January 14, 2010 Take a look here http://www.php.net/manual/en/book.gmp.php and here http://www.php.net/manual/en/book.bc.php That should give you some help Link to comment https://forums.phpfreaks.com/topic/188459-expo-to-decimal-format/#findComment-994935 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.