Skip to content

Interface: MathContextConstructor()

Defined in: bigdecimal.ts:5292

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

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

Parameters

precision

number

roundingMode?

RoundingMode

Returns

MathContext

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