'test float fields'

def test_20_float(self):

    record = self.env['test_new_api.mixed'].create({})
    record.write({'number': 2.4999999999999996})
    self.assertEqual(record.number, 2.5)
    record.number = 2.4999999999999996
    self.assertEqual(record.number, 2.5)
