Skip to main content

Round a Number

Overview

Rounds a number up or down to the nearest integer

Returns
Number

Parameters

ParameterParameterValid BlocksRequired
Use Dynamic NameShow the Dynamic Name slot in the tree so that it can be set dynamicallyBoolean Block GroupNo
Dynamic NameThe dynamic name of this itemText Block GroupNo
AttributesMetadata values for this block. Used in XML and multipart/form-data.Text Block GroupNo
Number to Roundthe decimal number to roundNumber Block GroupNo
Rounding TypeCeil, Floor, Round or RoundToEvenText Block GroupNo
Round Decimal PlacesThe number of decimal places to round toNumber Block GroupNo