Booleans | SoloLearn: Learn to code for FREE!

+1

Booleans

Why is 8.7<=8.70 True

5/25/2020 5:18:22 PM

Chinaza

5 Answers

New Answer

+1

Chinaza ok you are welcomed

+3

Because 0 after 8.7 is nothing and compiler dont use 0 after 8.7 , so 8.7<=8.7 and it is True)

+2

8.7 is not less than 8.70 because they are equal and the sign"=" makes the boolean true.

+1

Ohhh thanks you guys

0

<= means "smaller or equal". They are equal.