random()

2019-08-26  本文已影响0人  白菜_37e2

返回介于 0(包含) ~ 1(不包含) 之间的一个随机数:

round() 方法返回一个最接近的 int、long 型值,四舍五入。

上一篇 下一篇

猜你喜欢

热点阅读