Board index » delphi » check if whole/integer

check if whole/integer

Quote
Ed Vidgen wrote:

> Hello.
> Can someone tell me how to check if a number entered is whole number.
> Thx, that would be great!

wholeNumber := Frac(number) = 0;
 

Re:check if whole/integer


Hello.
Can someone tell me how to check if a number entered is whole number.
Thx, that would be great!

Other Threads