Bug-report: CircuitBlocks and floats

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.

Hello

Thanks for letting us know about this annoyance. I’ll check it out and see what I can do about it for the next release. Simply removing the “rounding” (1.0 -> 1) should do the trick it seems.

Filip

1 Like