Re: how to check whether a number is an integer?
- From: "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Sat, 28 Oct 2006 08:14:17 +0200
Andre,
Put option strict on in top of your program, than it will divide only
doubles using the non integer divide.
Cor
"André" <svs@xxxxxx> schreef in bericht
news:Ou8oULe%23GHA.1172@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
I need to know whether the result of a division is a integer or not.
dim x =60
dim y = 3
if x/y is a integer then
...
else
...
end if
How can i know that?
Thanks
André
.
- References:
- how to check whether a number is an integer?
- From: André
- how to check whether a number is an integer?
- Prev by Date: Re: Get the number of fils in C:\ partition
- Next by Date: SQL Server and .NET Interview questions free download
- Previous by thread: Re: how to check whether a number is an integer?
- Next by thread: How to tell if my app is running on laptop or desktop?
- Index(es):