I found particularly wit to include the "." inside $1, in order to avoid repetition.$phase = '0' . (($number =~ /(\..+)/) ? $1 : '');
Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')
Don't fool yourself.In reply to Re^2: Coping with decimals
by polettix
in thread Coping with decimals
by Ruanae
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |