Thread Wert reiner Zahlenwert? (14 answers)
Opened by skontox at 2003-10-02 20:05

Dubu
 2003-10-02 20:37
#60335 #60335
User since
2003-08-04
2145 Artikel
ModeratorIn + EditorIn

user image
Code (perl): (dl )
1
2
3
4
5
6
7
$string = 100000000000000000;
if ($string =~ /\D/) {
        print qq { Wert ist keine Zahl };
}
print $string;
_ _END_ _
 Wert ist keine Zahl 1e+17

Schade aber auch... ;)

View full thread Wert reiner Zahlenwert?