Closed limrv closed 8 years ago
It reverts change from bd6bedc2.
Accepting blank strings is a more logical behavior since:
Qty("m") => 1 m
Qty("3") => 3
Qty("3").units() => ""
Qty(qtyInstance.units())
It reverts change from bd6bedc2.
Accepting blank strings is a more logical behavior since:
Qty("m") => 1 m
)Qty("3") => 3
)Qty("3").units() => ""
)Qty(qtyInstance.units())
is not expected to fail (it currently does with a unitless quantity)