Exemplo n.º 1
0
 def str_format(self, box):
     value = self.unbox(box)
     return float2string(self.for_computation(value), "g", rfloat.DTSF_STR_PRECISION)
Exemplo n.º 2
0
 def str_format(self, item):
     return float2string(self.for_computation(self.unbox(item)), 'g', rfloat.DTSF_STR_PRECISION)
Exemplo n.º 3
0
 def str_format(self, box):
     value = self.unbox(box)
     return float2string(self.for_computation(value), "g",
                         rfloat.DTSF_STR_PRECISION)