I need to check whether 4096.0
is same as it's integer form. (In JAVA language)
Is this the correct way?
Math.ceil(number) == Math.floor(number);
If not, then please suggest the correct way to do this.
I need to check whether 4096.0
is same as it's integer form. (In JAVA language)
Is this the correct way?
Math.ceil(number) == Math.floor(number);
If not, then please suggest the correct way to do this.