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.
x = oconv(’’, "u21b6")
0 | Units |
1 | Dozens |
2 | Decimal |
3 | Thousands |
:set-dozens :u bp test 01 print oconv(5,"u21b6")
This program prints the value 1.