in my computer, it works;but another computer it doesn't. i take "Argument "0,015233304" isn't numeric in sprintf at C:/perl2/site/lib/Math/Round/" error. when I add 0 to theese strings. the error message is gone .but still it's rounding to 0.00000 or 1.0000 or sth like that. thanks for your help.my $rnd=Math::Round::Var->new (0.001); $frsmt=@mtbf_data[3]; $rounded_percent_frsmt=$rnd->round($percent_frsmt);
In reply to argument isn't numeric in sprintf by henrik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |