Hi Larry,
You're right, but 2.24 is not the real size because it's sqareroot of 5.
Squareroot of 5 is 2.2360679775...
But Moi can help you...
If you give the exact value to Moi (2 times squareroot of five), the job is done...
Give the size as 2*sqrt(5) and MoI will understand it !
The documentation explains it :
Any of the functions on the JavaScript "Math" object are available for use, including: sin(), cos(), tan(), sqrt(), pow(), round(), random(), the constant PI,
and also rad() which takes a parameter in degrees and returns it in radians, and deg() which takes a parameter in radians and returns it in degrees.
Even if you show 7 decimal places, it gives you the right distance.
Thanks to Magic Michael !
|