how to increment a decimal/float value by 0.1 or 0.001 according to degree of decimal value in java

前端 未结 0 1247
醉梦人生
醉梦人生 2021-01-05 18:02

I have a decimal number eg 65.435 or 9.2 or 10.23 , now i have to increment it as 65.436, 9.3,10.24.

Is there any utility method present for that in java?

I kn

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