Numbers can start with "." and "-" too.
>perl -wE"say 0+'.4'" 0.4 >perl -wE"say 0+'-6'" -6
In reply to Re^2: confused: string and number comparison
by ikegami
in thread confused: string and number comparison
by wwe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |