u01b6 User Exit

The u01b6 user exit converts a numeric expression to the number of units as defined by the TCL set-units, set-dozens, set-decimal, or set-thousands commands.

Syntax

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

Example(s)

:set-dozens

:u bp test

01 print oconv(24,"u01b6")

This program prints the value 2, as 24 = 2 dozen.

See Also

set-decimal Command

set-dozens Command

set-thousands Command

set-units Command

um Command