/ api / cat / conv
Conversion Functions

`GB.Conv` | Converts a Gambas value.
`GB.NumberFromString` | Converts a string into a number.
`GB.NumberToString` | Converts a number into a string.
`GB.ConvString` | Converts a string from one charset to another charset.

## Overview

These functions give you access to the Gambas conversion functions.

- `GB.NumberFromString` is an equivalent of Val, Hex$, Bin$, CInt or CLong.
- `GB.NumberToString` is an equivalent of Str or CStr.
- `GB.ConvString` is an equivalent of Conv$.
- `GB.Conv` is an equivalent of datatype conversion functions: CBool, CInt, CStr, CDate...

You should use `GB.NumberFromString` and `GB.NumberToString` instead of C / C++ library functions if you want your component to be coherent with the Gambas syntax.