Utility

Subcategories

Functions


atof

float atof(string text)

atoi

int atoi(string text)

sprintf

string sprintf(string format, any value)

Formats given value using standart syntax of C printf function (google “printf” for format details). However, it is limited to formatting only 1 value.

  • Can be used to get character by ASCII code (“%c”).

typeof

int typeof(any value)

Returns type of the given value: VALTYPE_INT, VALTYPE_FLOAT or VALTYPE_STR.