BigDecimal - always change own value after reloading site page

hello all.
I was noticed that BigDecimal attribute in my db row changing every
reloading.

sum: #BigDecimal:4add7d0,‘0.9E0’,9(36)
ctrl+r
sum: #BigDecimal:639f200,‘0.9E0’,9(36)
ctrl+r
sum: #BigDecimal:594ceb0,‘0.9E0’,9(36)

Is it ok?

The values you see changing, like “4add7d0” aren’t actually the decimal
value, they are the “address”. The actual decimal value is .9E0 so
between
each of those the value is the same. See

for more information. Try using “.to_s” to see just the decimal value.

On Mon, Jan 19, 2015 at 8:04 AM, Psycho S. [email protected]
wrote:

https://groups.google.com/d/msgid/rubyonrails-talk/7ed48cd2-bb8c-493c-aa10-4663861f7b97%40googlegroups.com?utm_medium=email&utm_source=footer

.
For more options, visit https://groups.google.com/d/optout.


Daniel Evans