Replay Posted January 21, 2009 Share Posted January 21, 2009 Hello every one, I'm new to PHP and have been trying to finger out how to do something like this in PHP. 35 528 193 / 81 887 900 = 0.43386377 Then 0.43386377 in to 43.38% Any help would be greatly appreciated. Link to comment https://forums.phpfreaks.com/topic/141769-php-math/ Share on other sites More sharing options...
lonewolf217 Posted January 21, 2009 Share Posted January 21, 2009 $value = round((35528193 / 81887900) * 100,2) . "%" Link to comment https://forums.phpfreaks.com/topic/141769-php-math/#findComment-742136 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.