Calc

Calc

new Calc()

Source:
加减乘除类

Methods

(static) exc(args, valTwo)

Source:
除法
Parameters:
Name Type Default Description
args
valTwo 100

(static) ride(…args)

Source:
乘法
Parameters:
Name Type Attributes Description
args <repeatable>

(static) sub(…args)

Source:
减法
Parameters:
Name Type Attributes Description
args <repeatable>

toFixed(num, precision)

Source:
精度四舍五入
Parameters:
Name Type Description
num * 数字
precision * 位数
Returns: