LHNCBC / ucum-lhc

LHC implementation of UCUM validation and conversion services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit conversion does not work for 0

ivanovgp opened this issue · comments

convertUnitTo() does not support an input value of 0. Try 0m to km.

Thanks for reporting this. I can also see the problem on the demo at https://lhncbc.github.io/ucum-lhc/demo.html . We'll take a look.

A fix is under review along with some other changes-- hopefully coming soon.

Thank you for your patience. This should now be fixed in version 2.1.2.