imarockstar Posted August 12, 2009 Share Posted August 12, 2009 I am needing to convert some decimals to percentage ... i have this : 0.684684684685 I need it to say : 69% is there a way to convert numbers like that to a percentage ? Link to comment https://forums.phpfreaks.com/topic/169944-solved-php-math-help/ Share on other sites More sharing options...
Daniel0 Posted August 12, 2009 Share Posted August 12, 2009 Multiply with 100 and round. Link to comment https://forums.phpfreaks.com/topic/169944-solved-php-math-help/#findComment-896499 Share on other sites More sharing options...
MadTechie Posted August 12, 2009 Share Posted August 12, 2009 WOW looks like the Maths degree paid off after all Daniel0 Link to comment https://forums.phpfreaks.com/topic/169944-solved-php-math-help/#findComment-896514 Share on other sites More sharing options...
imarockstar Posted August 12, 2009 Author Share Posted August 12, 2009 lol .. i didnt know if there was an actual function for this .. haha Link to comment https://forums.phpfreaks.com/topic/169944-solved-php-math-help/#findComment-896523 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.