Utility functions
Utility functions are used for data types operations, such as type conversion.
Fucntions
IntToFloat
IntToFloat
Converts an integer to a float
Parameters
var int x- number to convert
Return value
The function returns converted float
IntToString
IntToString
Converts an int to a string
Parameters
var int x- number to convert
Return value
The function returns converted string
FloatToInt
FloatToInt
Converts a float to an int (cuts off the decimal part)
Parameters
var float x- float number to convert
Return value
The function returns converted integer
FloatToString
FloatToString
Converts a float to a string with 6 decimal places
Parameters
var float x- float number to convert
Return value
The function returns converted string
ConcatStrings
ConcatStrings
Concatenates two strings and returns the new string
Parameters
var string str1- first stringvar string str2- second string
Return value
The function returns concatenated string
zParserExtender
zParserExtender implements its own type conversion functions. Check the Cast external functions for more information.