Utility

Subcategories

Functions


atof

float atof(string text)

atoi

int atoi(string text)

sprintf

string sprintf(string format, any value)

Formats the given value using standard 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.


This site uses Just the Docs, a documentation theme for Jekyll.