Nathan Riley
asked on
PHP Round Help
I have a result of some math calculation in PHP that give the result:
5.23967939763E-7
Right after that I round the variable to try to get 5.23, but the variable continues to show as 0. I assume if you round a number with that many places after the decimal it fails or something, is there a better solution?
5.23967939763E-7
Right after that I round the variable to try to get 5.23, but the variable continues to show as 0. I assume if you round a number with that many places after the decimal it fails or something, is there a better solution?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.