Problem with precision in a python script

前端 未结 0 1696

I need to convert numbers to a flat file format 0.57 becomes 000000000000000057 in this format (padding zeroes) My method

My method

def toAmount18(a):
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题