# 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](https://d3codex.com/tcl/set-decimal-command/)
- [set-dozens command](https://d3codex.com/tcl/set-dozens-command/)
- [set-thousands command](https://d3codex.com/tcl/set-thousands-command/)
- [set-units command](https://d3codex.com/tcl/set-units-command/)
- [um command](https://d3codex.com/tcl/um-command/)

---
Source: https://d3codex.com/pickbasic-flashbasic/u01b6-user-exit/ - part of the D3Codex reference.
