Skip to content

Interface: BigDecimalConstructor() ​

Defined in: bigdecimal.ts:5228

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:5229

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:5231

Parameters ​

n ​

string | number | bigint | BigDecimal

scale? ​

number

mc? ​

MathContext

Returns ​

BigDecimal

Released under the GPL-2.0-only WITH Classpath-exception-2.0 License.