Jerry Preston wrote: > > Hi! Hello,
> I am looking for a simple way to figure out if a value is a integer or a > float. How to tell the difference between 7 and 7.5. $ perl -le' for ( 7, 5.9 ) { print "$_ is an integer" if $_ == int; } ' 7 is an integer Also have a look at this FAQ: perldoc -q "How do I determine whether a scalar is a number" John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]