Please enable JavaScript to view this site.

Function that converts an integer numeric value to its equivalent ascii representation.

Syntax

string str_i (i32 value, i32 minLen, i32 form)

value

Value to be converted

minLen

Minimum length of the returned string.

This is typically a number, but can also be an expression. If the number of characters representing the string is less than minLen, it will be initialized with an appropriate number of space characters. In the case that minLen is not sufficient to represent the number, the string will contain a number of characters greater than minLen, that is, the characters strictly necessary to represent the number value.

There is no error reporting

form

Parameter used to specify if you want to represent the value number as an integer quantity expressed in decimal format or in hexadecimal format. The values to be assigned to form can be:

10, decimal representation

16, hexadecimal representation with base indication

-16, hexadecimal representation without base indication

Any form value other than 10 or 16 implies the use of the decimal representation, without error reporting

Result

Returns the ascii representation of the number value

Validity

Rule, Task

Note

If the number to be converted is real, it is first transformed and then converted

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC