Displaying 1 result from an estimated 1 matches for "31b8480".
Did you mean:
318480
2008 Jan 19
1
Decimals are being converted to Bigdecimals!!!!!
...he console, they
show up as Bigdecimal and it''s messing up my calculations. Here''s
what it looks like from the rails console:
>> Lineitem.find(34).price
=> #<BigDecimal:31e4c74,''0.3E4'',4(12)>
>> Payment.find(23).amount
=> #<BigDecimal:31b8480,''0.4125E4'',4(12)>
What''s going on here? How do I get Rails to recognize that these are
decimal/currency amounts?????
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: T...