2

Formula 0<=(1.36*100/1.36)-100 returns FALSE while expects TRUE.

But

0<=(1.26*100/1.26)-100 returns correct result TRUE. Why?

player0
  • 124,011
  • 12
  • 67
  • 124
Yuliia Ashomok
  • 8,336
  • 2
  • 60
  • 69

1 Answers1

2

if you run:

=(1.36*100/1.36)-100

and expand decimal places you will get:

enter image description here

which is totally fine even if you do not expect such behavior. this is due to how google sheets stores the numbers and this "nonsense" is called "rounding error" (yet it is not an error)

see: https://stackoverflow.com/a/72230592/5632629

in your case try:

=0<=ROUND((1.36*100/1.36)-100)

enter image description here

player0
  • 124,011
  • 12
  • 67
  • 124