I need to test whether double is an integer. Basically this is an example of the rule:
> 5.0>true
> 5.2>false< /p> In order to do this, I do an if (result mod 1) = 0 and see if it returns tru
I need to test whether double is an integer. Basically this is an example of the rule:
> 5.0>true
> 5.2>false< /p> In order to do this, I do an if (result mod 1) = 0 and see if it returns tru