The u21b6 user exit returns a numeric value representative of the current unit setting defined by the TCL set-units, set-dozens, set-decimal, or set-thousands commands.
Syntax
x = oconv(’’, "u21b6") |
Parameter(s)
0 |
Units |
1 |
Dozens |
2 |
Decimal |
3 |
Thousands |
Example(s)
:set-dozens :u bp test 01 print oconv(5,"u21b6") |
This program prints the value 1.
See Also