Dear All,
I would like to highlight an issue related to rounding that can lead to incorrect results.
For example, the latitude value is 30.8761. When the system rounds this value to two decimal places, it becomes 30.88. This rounding changes the actual value and can cause logical or validation mistakes in calculations.
we need a proper way to control digits ,This will help ensure accuracy
code example :
tolerance = 0.005
lat = 30.8761
see tolerance + nl
see lat + nl
--
---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ring-lang/2db99b97-cc5b-40dd-a6ed-70bc3db42adcn%40googlegroups.com.

To view this discussion visit https://groups.google.com/d/msgid/ring-lang/CACUiySyGbRW985OAf%2BSYsPk38P0UOXjb87Ps6%2BgQ8hQW1Jh4Lg%40mail.gmail.com.