Difference between revisions of "Floor (LogiX node)"
Jump to navigation
Jump to search
(Created page with "<languages></languages> <translate> <!--T:1--> {{Infobox Logix Node | Name = Floor | Image =[[File: | noframe | 256px | ]] | Input0Type = Float | Input0Name = N | Output0Type...") |
DoubleStyx (talk | contribs) m (removing empty link) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
{{Infobox Logix Node | {{Infobox Logix Node | ||
| Name = Floor | | Name = Floor | ||
− | | Image =[[File: | noframe | | + | | Image = [[File: Floor_FloatNode.png | noframe | 128px | 'Floor_Float' LogiX node ]] |
| Input0Type = Float | Input0Name = N | | Input0Type = Float | Input0Name = N | ||
| Output0Type = Float | Output0Name = * | | Output0Type = Float | Output0Name = * | ||
Line 15: | Line 15: | ||
When spawned from the node browser, this node accepts float data by default. However, this node can be overloaded to accept a wide variety of numeric datatypes if an appropriate wire is connected to the input. The datatype must support decimal places due to the nature of the function. | When spawned from the node browser, this node accepts float data by default. However, this node can be overloaded to accept a wide variety of numeric datatypes if an appropriate wire is connected to the input. The datatype must support decimal places due to the nature of the function. | ||
+ | <!--T:6--> | ||
When providing this node with a whole number input, the output will remain unchanged. | When providing this node with a whole number input, the output will remain unchanged. | ||
== Examples == <!--T:4--> | == Examples == <!--T:4--> | ||
− | |||
== Node Menu == <!--T:5--> | == Node Menu == <!--T:5--> | ||
</translate> | </translate> | ||
[[Category:LogiX{{#translation:}}|Floor ]] | [[Category:LogiX{{#translation:}}|Floor ]] | ||
− | [[Category:LogiX: Math{{#translation:}}|Floor ]] | + | [[Category:LogiX:Math{{#translation:}}|Floor ]] |
− | {{:NodeMenu-Math | + | {{:NodeMenu-Math}} |
Latest revision as of 09:20, 8 May 2022
Floor | ||
---|---|---|
Inputs | ||
Float | N | |
Outputs | ||
Float | * |
The Floor node takes a numeric input and outputs that input rounded down to the next whole number. More information can be found on the wiki page for Floor And Ceiling Functions.
Usage
When spawned from the node browser, this node accepts float data by default. However, this node can be overloaded to accept a wide variety of numeric datatypes if an appropriate wire is connected to the input. The datatype must support decimal places due to the nature of the function.
When providing this node with a whole number input, the output will remain unchanged.