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