TIP: Click on subject to list as thread! ANSI
echo: perl
to: David Drummond
from: Stephen Hurd
date: 2004-09-17 10:53:20
subject: Question

Re: Question
  By: David Drummond to Jasen Betts on Fri Sep 17 2004 17:38:28

 >  JB> does 2.2 qualify ?  how about is 1e5 ? 0xdeadbeef ? 0800 ? 3-1/2 ?
 > 
 > nope.

If lead zeros aren't something you want to worry about, the following:
if($data eq int($data)) {

Should work.
--- SBBSecho 2.10-FreeBSD
* Origin: FreeBSD Synchronet - telnet://FreeBSD.synchro.net (1:140/17)
SEEN-BY: 633/267 270
@PATH: 140/17 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.