square root
This block is part of the number group and was last modified in core v10.4.28.
square root v10.4.28 Returns the square root of a given positive number.
In pins 1
- number required
number
Out pins 1
- number
number
Outputs the square root of the number pin. Numeric strings and booleans coerce; unwired, nil, non-numeric, or negative inputs output nil (an input of 0 yields 0). Example: number="9" -> 3.
A typical wiring for square root: the number out pin feeds cast to value.
Version history
Introduced in v10.4.28.
Back to
number Return to the main group to view all sub-groups Back to math Return to the group to view all blocks within this group 