RPA JS 扩展开发文档

RPA JS 扩展开发文档

  • SDK接口说明
  • 代码示例

xsy-breeze-ui-rpa > BigNumber > negated

BigNumber.negated() method

Returns a BigNumber whose value is the value of this BigNumber negated, i.e. multiplied by -1.

x = new BigNumber(1.8)
x.negated()                     // '-1.8'
y = new BigNumber(-1.3)
y.negated()                     // '1.3'

Signature:

negated(): BigNumber;

Returns:

BigNumber

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