zhirzh / sugarizer-activity-moon

Web port of Sugar activity Moon
http://try.sugarizer.org/activities/Moon.activity/
Apache License 2.0
2 stars 3 forks source link

Lunation and visibility values had too much decimal #4

Closed llaske closed 8 years ago

llaske commented 8 years ago

For example Lunation display something like that "Lunaison: 87.05000000000001% de la lunaison 1153". Will be better with only 2 decimals "87.05%". Same thing for the visibility: "Visibilité de la surface: 15.659999999999998%".

zhirzh commented 8 years ago

The fix submitted is inconsistent and fails in some cases