u11b6 User Exit

The u11b6 user exit converts a unit expression to a numeric value as defined by the TCL set-units, set-dozens, set-decimal, or set-thousands commands.

Syntax

x = oconv(num.exp, "u11b6")

Example(s)

:set-dozens

:u bp test

01 print oconv(5,"u11b6")

This program prints the value 60, as 60 = 5 dozen.

See Also

set-decimal Command, set-dozens Command, set-thousands Command, set-units Command, um Command