check if there is a number present after decimal in java code example
Example: how to check for a decimal point in java
d % 1 == 0
//THIS CHECKS IF VARIABLE D IS A WHOLE NUMBER
d % 1 == 0
//THIS CHECKS IF VARIABLE D IS A WHOLE NUMBER