Could the UnitsOf() function (from SpecialFunctions) please handle custom units? Or at least issue a sensible error message if an unknown unit is found.
unitsof.sm (2.99 KiB) downloaded 304 time(s).
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx