How to round roots to three decimal places, eg sqrt (2) should give 1:41
and sqrt (6) or sqrt (8) should appear only 2.45 and 2.82 respectively
Develop games in your browser. Powerful, performant & highly capable.
round(sqrt(2) * 100)/100[/code:3tue298y] This should give you the expected result.
Thanks