Syntax:
rounded_single_value = RoundSingle( single_variable )
Command Availability:
Available on all microcontrollers.
Explanation:
The RoundSingle
function will return a floating point number that is a rounded version of the specified number.
This operates the same as Microsoft floor().
Example:
rounded_single_value = RoundSingle( _singlevariable_ ) ' Will return the range of single variable.