Lines Matching refs:create_decimal
326 funct(self.context.create_decimal(v))
335 v = self.context.create_decimal(v)
564 d = nc.create_decimal()
568 self.assertRaises(TypeError, nc.create_decimal, None)
571 d = nc.create_decimal(456)
573 self.assertEqual(nc.create_decimal(45678),
574 nc.create_decimal('457E+2'))
579 d = nc.create_decimal('456789')
584 self.assertEqual(str(nc.create_decimal('3.14\n')), 'NaN')
589 d = nc.create_decimal( (1, (4, 3, 4, 9, 1, 3, 5, 3, 4), -25) )
596 d = nc.create_decimal(prevdec)