How round off double value to 4 decimal places and use it in Objective-C?

前端 未结 0 1094
臣服心动
臣服心动 2021-01-27 17:17

From server I receive some double numbers like this: lat = 41.31222610606569 and lon = 69.27931308746338. I want to round to 4 decimal places and use it. Not for showing. I wan

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