# int2str

Converts integer value to a string.

    int2str <strvar> <integer value>

## Remarks

Converts <integer value> to its string expression, and returns it in the string variable <strvar>.
This command is equal to the formatted output("%d") of the sprintf family.

## Example

    ; The string "123" is assigned to the variable "valstr".
    int2str valstr 123
    messagebox valstr "str"     ; 123

    num = 123
    sprintf2 valstr "%d" num
    messagebox valstr "str"     ; 123

## See also

- sprintf
- sprintf2