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 ? Quote 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. Quote 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 Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/169944-solved-php-math-help/#findComment-896523 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.