Sign in to Community
Sign in to view all badges
I'm using Onready function in which I'm calling a function say func();
In func() I'm using Math.ceil on a decimal value stored in a variable, but it is not working. But if I use Math.ceil in console on same variable then it is working fine.
How to use it in my function?
What is the error that you are seeing in the console? Can you please share the log?