No, but if you could use a regex/similar to strip it down? Eg "1,252km".replace(/[^0-9,\.]+/,"") - It's pretty handy for those in non-km countries to be able to have stuff in the right units.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
No, but if you could use a regex/similar to strip it down? Eg
"1,252km".replace(/[^0-9,\.]+/,"")
- It's pretty handy for those in non-km countries to be able to have stuff in the right units.