Join GitHub today
ignored prefixes #66
It appears that when a unit has multiple prefixes, all but the last one are ignored. That is to say, the following all equal
Unit.new('3 mcg') # this is how I originally discovered the issue, # mistakenly thinking this would be micrograms Unit.new('3 ccg') Unit.new('3 cccccg') Unit.new('3 yottagigamicrocg')
I don't know what should happen (is a ccg a hundredth of a hundredth of a gram, or just meaningless garbage?), but I presume silently throwing away input is not the desired behavior.