You can use the substitute command to do this.If you want to replace the . for only numerals.Before replacing,you can check whether that variable has numerals or not by using regular expression in substitute command as follows.
$no=123.45; $no=~s/^(\d+)\.(\d+)/$1,$2/;
In reply to Re: Change decimal point temporarily
by nvivek
in thread Change decimal point temporarily
by lima1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |