# 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](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/u11b6-user-exit/ - part of the D3Codex reference.
