Description
This node will output an approximation of the number handed as an input.
Properties
Approximation type
: Switch between Floor, Ceil and Round approximation types.
Default: Floor- Floor: Rounds the number to the closest inferior integer (ex: 2.9 becomes 2)
- Ceil: Rounds the number to the closest superior integer (ex: 2.1 becomes 3)
- Round: Rounds the number to the closest inferior integer if the decimal is strictly less than .5 and to the closest superior integer if the decimal is above or equal to .5 (ex: 2.1 becomes 2 and 2.6 becomes 3)
Float
: Set the input manually.
Default: 0.0
Inputs
Name | Type | Description |
---|---|---|
Float | Float | Input value to approximate |
Outputs
Name | Type | Description |
---|---|---|
Float | Float | Approximated value of the input |
Need more help with this?
Don’t hesitate to contact us here.