Skip to content

Interface: BigDecimalConstructor()

Defined in: bigdecimal.ts:5006

Type of the Big constructor function, which builds a BigDecimal and can be invoked with or without new.

ts
BigDecimalConstructor(
   n, 
   scale?, 
   mc?): BigDecimal;

Defined in: bigdecimal.ts:5007

Type of the Big constructor function, which builds a BigDecimal and can be invoked with or without new.

Parameters

n

string | number | bigint | BigDecimal

scale?

number

mc?

MathContext

Returns

BigDecimal

Constructors

Constructor

ts
new BigDecimalConstructor(
   n, 
   scale?, 
   mc?): BigDecimal;

Defined in: bigdecimal.ts:5009

Parameters

n

string | number | bigint | BigDecimal

scale?

number

mc?

MathContext

Returns

BigDecimal

Released under the Apache-2.0 License.