Sure ... but why wouldn't you want to use s/printf?
At the risk of answering a homework question:
$newtemp =int(100*((($temp-32)*5)/9))/100;
In reply to Re: perl newbie question
by derby
in thread perl newbie question
by john83reuben
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |