Skip to content

Interface: MathContextConstructor()

Defined in: bigdecimal.ts:5076

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

ts
MathContextConstructor(precision, roundingMode?): MathContext;

Defined in: bigdecimal.ts:5077

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

Parameters

precision

number

roundingMode?

RoundingMode

Returns

MathContext

Constructors

Constructor

ts
new MathContextConstructor(precision, roundingMode?): MathContext;

Defined in: bigdecimal.ts:5079

Parameters

precision

number

roundingMode?

RoundingMode

Returns

MathContext

Released under the Apache-2.0 License.