Skip to content

Interface: MathContextConstructor() ​

Defined in: bigdecimal.ts:5298

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

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

Parameters ​

precision ​

number

roundingMode? ​

RoundingMode

Returns ​

MathContext

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