Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that the mph values are also formatted
Without this fix, the mph values had lots of decimal points. Note that we might not actually need to `parseFloat`, multiplying with numeric strings seems to work fine at least in chrome. ``` ic.getKmph(metersPerSecond) "10.80" KM_TO_MILES * ic.getKmph(metersPerSecond) 6.7108068 KM_TO_MILES * 10.80 6.710806 KM_TO_MILES * "3.1" 1.9262501 ``` But I presumably made the change for a reason, so let's be consistent throughout and change later if needed 98af95d
- Loading branch information