Fix #1808: toNumber()
not working on a unitless unit
#1811
Merged
toNumber()
not working on a unitless unit
#1811