Improve availability of symbol property (once again) by extracting it from the string representation of the Quantity instead of getting it from the Java layer.
Log a warning when unit conversion fails (especially important for Blockly users).
Return null from quantityState if Quantity would be unit-less (without unit) since there is no advantage over using a plain number. This is especially important for the UoM blocks in Blockly.
symbol
property (once again) by extracting it from the string representation of the Quantity instead of getting it from the Java layer.null
fromquantityState
if Quantity would be unit-less (without unit) since there is no advantage over using a plain number. This is especially important for the UoM blocks in Blockly.