Join Slack
Powered by
<@U0ZFBBUBU> I've done something liked this in the...
# announcements
k
karelpeeters
10/09/2017, 7:00 AM
@groostav
I've done something liked this in the past:
parseInt(str.replace('.', "")) to pow(10, str.length - str.indexOf('.'))
, technically it does return the closest ratio.
🤔 1
Open in Slack
Previous
Next