You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.
dart-latlong/lib/latlong.dart
Lines 92 to 111 in 0325c7d
When
dec
is53.0335
then splitting a double into two parts, that then get parsed as integers is wrong!The fractionalPart
0335
becomes an integer - 335, and then "recreating" a double by doing0.$fractionalPart
is simply silly.0.335 != 0.0335
The right way of doing this is:
Sorry, I'm calling this function a lot, so
StringBuffer
makes sense for me.The text was updated successfully, but these errors were encountered: