RPA JS 扩展开发文档

RPA JS 扩展开发文档

  • SDK接口说明
  • 代码示例

xsy-breeze-ui-rpa > BigNumber > set

BigNumber.set() method

Configures the settings that apply to this BigNumber constructor.

The configuration object, object, contains any number of the properties shown in the example below.

Returns an object with the above properties and their current values.

Throws if object is not an object, or if an invalid value is assigned to one or more of the properties.

set({
    DECIMAL_PLACES: 40,
    ROUNDING_MODE: ROUND_HALF_CEIL,
    EXPONENTIAL_AT: [-10, 20],
    RANGE: [-500, 500],
    CRYPTO: true,
    MODULO_MODE: ROUND_FLOOR,
    POW_PRECISION: 80,
    FORMAT: {
        groupSize: 3,
        groupSeparator: ' ',
        decimalSeparator: ','
    },
    ALPHABET: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'
});

set().DECIMAL_PLACES        // 40

Signature:

static set(object: Config): Config;

Parameters

ParameterTypeDescription
objectConfig

Returns:

Config

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