Separating float integral and fractional

后端 未结 0 468
鱼传尺愫
鱼传尺愫 2021-02-19 16:37

I am trying to separate a float into it\'s integral and fractal parts. My method works fine for some values, but does not when I encounter a value that has a longer decimal repr

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