Prototype – 数字转换 succ() 方法

返回到:Prototype – 数字处理

此方法返回由 current + 1 定义的当前 Number 的后继。用于使数字与 ObjectRange 兼容。

语法

number.succ();

返回值

舍入当前 Number 的后继者。

例子

HTML

返回到:Prototype – 数字处理

阅读剩余 29%

作者:terry,如若转载,请注明出处:https://www.web176.com/prototype_api/8924.html

(0)
打赏 支付宝 支付宝 微信 微信
terryterry
上一篇 2023年2月7日 上午11:51
下一篇 2023年2月7日 上午11:53

相关推荐

发表回复

登录后才能评论