jeudi 21 juin 2018

Decimal issue in ruby on rails

I stored a decimal value 0.57 as number (10,2) in the database. When i retrieve the value on my screen using ruby on rails it shows 0.570000000001 please help

Aucun commentaire:

Enregistrer un commentaire