Function: round
The round()
function returns a floating point number that is a rounded version of the specified number, with the specified number of decimals.
Syntax:
<number>.round(<number>)
Example:
var.test_value = 5.426793
var.new_value = var.test_value.round(2)
case true:
// Render as: "New value: 5.43"
return DEBUG, "New value: @var.new_value"