Difference between revisions of "Round To Int (LogiX node)"
Jump to navigation
Jump to search
DoubleStyx (talk | contribs) (Created page with "<languages></languages> <translate> <!--T:1--> {{Infobox Logix Node | Name = Round To Int | Image =File: RoundToInt_FloatNode.png | noframe | 128px | 'Round To Int Float' Lo...") |
DoubleStyx (talk | contribs) m |
||
Line 10: | Line 10: | ||
<!--T:2--> | <!--T:2--> | ||
− | The '''Round To Int''' node outputs the value N rounded to the nearest integer. | + | The '''Round To Int''' node outputs the value N rounded to the nearest integer. Note that this node returns an integer instead of a rounded float. Because floating-point errors can occur when using floats, this node can offer greater precision and reliability than would otherwise be attainable with the [[Round (LogiX node)|Round]] node. |
== Usage == <!--T:3--> | == Usage == <!--T:3--> |
Revision as of 09:08, 26 February 2021
Round To Int | ||
---|---|---|
Inputs | ||
Float | N | |
Outputs | ||
Int | * |
The Round To Int node outputs the value N rounded to the nearest integer. Note that this node returns an integer instead of a rounded float. Because floating-point errors can occur when using floats, this node can offer greater precision and reliability than would otherwise be attainable with the Round node.