Numerical analysts usually prefer the latter many programmers prefer the former.if ( abs( $number1 - $number2 ) < $something_tiny ) { print "all is well.\n"; }
Phil
In reply to Re: String comparison of numbers
by philcrow
in thread String comparison of numbers
by dsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |