Link to home
Start Free TrialLog in
Avatar of Nathan Riley
Nathan RileyFlag for United States of America

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?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial