cdherold has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to do the following:
but i don't know what to use for the integer variable? I only want it the program to continue if $base/3 is NOT an integer. If i'm being an idiot please let me know. this seems like it should be a very easy one.if ( $base/3 !== integer){then do this;}
thanks again,
cdherold
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Equivalent to Integer?
by grep (Monsignor) on Feb 11, 2002 at 07:13 UTC | |
|
Re: Equivalent to Integer?
by Biker (Priest) on Feb 11, 2002 at 07:15 UTC | |
|
Re: Equivalent to Integer?
by Zaxo (Archbishop) on Feb 11, 2002 at 07:48 UTC | |
|
Re: Equivalent to Integer?
by screamingeagle (Curate) on Feb 11, 2002 at 07:18 UTC |