in reply to Formatting MS Access Currency Values
The "$um" just contains "000", and when you apply this to a value like "80000", it matches the first three zeroes. You needed something like this:$interessa =~ s/$um/\.$um/;
But you also needed to cut down on the amount work you're doing in general.$interessa =~ s/$um\b/\.$um/;
|
|---|