This one is a little bit annoying. Whenever I want to declare that a variable is a float, CircuitBlocks immediately strips the fractional number unless it’s more than 0
. For example 1.0
becomes 1
and thus an int
… however 1.1
is declared as a float
.
My current work around is to first set the variables to some random float value, or just 0.1
and then set it back to the actual value I wanted.