Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D
Round Preview Basic Inputs OutputsInputs
Mode
Four rounding options are available:
- Round: The standard rounding of numeric values. If the decimal value is greater than or equal to 5, rounding will take place to the next larger integer. If the decimal value is less than 0.5, the decimal value will be dropped and the nearest lower integer returned..
- Ceil: If the decimal value is not equal to null, rounding will take place to the next largest integer value. For example, 10.2 will be rounded to 11.
- Floor: The decimal value will be ropped. For example, a value of 5.6 will be changed to 5.
RELEASE 21
- Round to Nearest Even Number does exactly this. It skips the after comma part and outputs the next largest number that is divisible by 2. For example, if a value of 5 is input, a value of 6 will be output.
Data Type
Here you can define the data type for the Node’s inputs and outputs. Individual values of the type Float can be rounded or vector types as Color, Vector2D, Vector or Vector4D.
Input [-∞..+∞]
Here you can input the value to be rounded into the Node.