SyntaxFix
Write A Post
Hire A Developer
Questions
either ceil and floor should give the same out out put
Math.ceil(x.y) == Math.floor(x.y)
or simply check for equality with double value
x.y == Math.ceil(x.y) x.y == Math.floor(x.y)
or
Math.round(x.y) == x.y