open all | close all

Round 圆形Preview 预览Basic 基础Inputs 投入Outputs 产出

Inputs

投入

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.. : 数值的标准舍入。如果小数值大于或等于5,则对下一个较大的整数进行舍入。如果小数值小于0.5,则将删除小数值并返回最近的小整数。
  • 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. : 如果十进制值不等于空,将对下一个最大整数值进行舍入。例如,10.2将四舍五入为11
  • Floor 地板: The decimal value will be ropped. For example, a value of 5.6 will be changed to 5. : 小数值将被限制。例如,5.6的值将被更改为5
  • 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. 就是这么做的。它跳过后面的逗号部分,并输出可被2整除的下一个最大数。例如,如果输入值为5,则输出值为6

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.

在这里,您可以为 Node 的输入和输出定义数据类型。Float 类型的单个值可以是圆形的,也可以是 Color、 Vector2D、 Vector 或 Vector4D 等矢量类型。

Input[-∞..+∞]

输入[-∞ . . + ∞]

Here you can input the value to be rounded into the Node.

在这里,您可以输入要舍入到 Node 中的值。