Skip to main content
Solved

Script block, strange problem

  • April 13, 2021
  • 2 replies
  • 21 views

Titouan_Parand
Forum|alt.badge.img+6

Hello :slightly_smiling_face:

I would like to know if this behaviour is normal and how to fix it. Thank you

Best answer by Titouan_Parand

Explanation here : Floating point inaccuracy examples - Stack Overflow
Solution: Math.floor(33.27 * 100)

Can be closed

2 replies

Titouan_Parand
Forum|alt.badge.img+6

Well, it seems to be a JS “problem”.


Titouan_Parand
Forum|alt.badge.img+6
  • Author
  • Inspiring
  • Answer
  • April 13, 2021

Explanation here : Floating point inaccuracy examples - Stack Overflow
Solution: Math.floor(33.27 * 100)

Can be closed