Hi,
I have a rails app (rails version 2.1.0) and today I found a very weird error.
A money value(mysql decimal column with precision 8 and scale 2) is 86.02. However, number_to_currency method returns "$86.20". This happens only in production server. My dev server returns correctly. The production server is red hat and dev is ubuntu.
This is also confirmed in console.
>> p.deposit_total.to_s => "86.02" >> helper.number_to_currency p.deposit_total => "$86.20"
Is this a known issue?
Thanks.
Sam