Hi Jorge,
Thank you for your reply - I've also come to using Round() function and managed to fix error by using round() function before sending parameters like this
SyntaxEditor Code Snippet
Acos(Round(Sin(Round(PI()* testLatitude/180,15)) * Sin(Round(PI()*testLatitude2/180,15)) + Cos(Round(PI()*testLatitude/180,15)) *Cos(Round(PI()*testLatitude2/180,15)) * Cos(Round(PI()*testLongitude2/180 - PI()*testLongitude/180,15)),15))*6371
in this example trigonometric functions are client side wrappers for JS Math.* functions, I've also had to use Round() inside this functions when assigning JSNode output to function output.
I was wondering if it is something that should be done automatically behind the scenes without manual apply of round()?
Thanks