Runtime error value (29.639497) has wrong type (gnu.math.DFloNum) (expected:integer)






Can you expkain, what you are trying to calculate here?

And next time if you take a screenshot, do it like this: To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun

ok, next time i will take a screenshot by a screenshot app or “download blocks as image”. I want to know the longitude and latitude of the user location to see if he is in a natural danger area then see if it is equal to other area from a specific longitude to another specific longitude and another area from specific latitude to another specific latitude.

To calculate distances use the haversine formula…
There is also an extension available

Taifun

sorry, it is not what i am wanting.
Also, thanks for providing finally i reached to the solution.

What about revealing your solution for others with the same question in future?
Taifun