Sc_format_num has no functionality for units

In forms the macro “sc_format_num” only works for currencies. With other units there is an error message and causes a databank error.
Any ideas how to work around the problem?