Output a constant number value or convert an input value into a number
Value
to 123.456
.value
output of the Number Block will be 123.456
."123.456"
.Use Value Input
setting.input
of the Number Block.value
output of the Number Block will be 123.456
.Value
to 123.456
.Round
setting and set Round To
to 2
.value
output of the Number Block will be 123.46
.Can I use the Number Block to convert a boolean to a number?
true
value will be converted to 1
and a false
value will be converted to 0
.What happens if I connect a non-numeric value to the Input of the Number Block?
Can I use the Number Block to round a number to an integer?
Round
setting and setting Round To
to 0
.