RPA JS 扩展开发文档

RPA JS 扩展开发文档

  • SDK接口说明
  • 代码示例

xsy-breeze-ui-rpa > BigNumber > min

BigNumber.min() method

Returns a BigNumber whose value is the minimum of the arguments.

The return value is always exact and unrounded.

x = new BigNumber('3257869345.0378653')
min(4e9, x, '123456789.9')             // '123456789.9'

arr = [2, new BigNumber(-14), '-15.9999', -12]
min.apply(null, arr)                   // '-15.9999'

Signature:

static min(...n: Value[]): BigNumber;

Parameters

ParameterTypeDescription
nValue[]

Returns:

BigNumber

Last updated on 12/16/2020
  • BigNumber.min() method
  • Parameters
Copyright © 2021 销售易