开发者

how i can show the number after period

i calculate a开发者_如何学Go tow number and i get this answer 9.144E-4 how i can show the real number in android


Not sure what you mean by a "tow number", but 9.144E-4 is equivalent to 0.0009144


Look at java.text.NumberFormat and java.text.DecimalFormat

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜