Floating Point Variables

Any maths operation (*,/,+,-,^) can be performed on a floating point variable.

They can also be tested for equality, less than and greater than. e.g.

float chicken
if chicken=5.7
end if

The body of the if statement will only be executed if the value of chicken equals 5.7.

Table of contents