Number To String


Description

This action will convert a real number into a string. If the number is not an integer value and has decimal places, these will be rounded to the nearest two places, so, for example, the number 123.45678 would return the string "123.46".


Action Syntax:

Number To String Syntax


Arguments:

Argument Description
Value The real number to convert
Target The target variable to hold the returned value


Example:

Number To String Example
The above action block code takes a decimal value and converts it to an integer, storing the returned value in a temporary local variable. This value is then turned into a string and drawn to the screen.