if you are gettin this error in your Ionic React page application that says:

Property 'floor' does not exist on type Math.floor()

is it because you have named something else "Math" for example, make sure nothing else is sharing the name.

Solution: Rename whatever variable you have named as "Math" to something else.

Hopet that helps.