M
Martin Kissner
hello together,
Is it possible to use coma (,) as decimal delimiter for some
calculations.
I have a loop and want to get rid of the substitution:
while($condition) {
$value =~ s/,/./;
$sum+=$value;
}
$value contains values like '1,05', '2,35' and so on.
$sum is supposed to contain the sum also with a ',' as decimal
delimiter.
Any sugestions will be appreciated.
Best regards
Martin
Is it possible to use coma (,) as decimal delimiter for some
calculations.
I have a loop and want to get rid of the substitution:
while($condition) {
$value =~ s/,/./;
$sum+=$value;
}
$value contains values like '1,05', '2,35' and so on.
$sum is supposed to contain the sum also with a ',' as decimal
delimiter.
Any sugestions will be appreciated.
Best regards
Martin