What will be the answer to these 2 variables? and what are the differences between the both?

后端 未结 0 1736
生来不讨喜
生来不讨喜 2020-12-16 16:17

double num1 = 0.0000012345.toStringAsPrecision(15); double num2 = 0.0000012345.toStringAsFixed(15);

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