BigFloat

BigFloat# BigFloat

new BigFloat(valopt, radixopt, managedopt, constantopt)

Description:
  • Creates a new BigFloat instance.

Source:
Parameters:
Name Type Attributes Default Description
val string | number | bigint | BigFloat <optional>

The value to initialize the BigFloat with.

radix number <optional>
10

The radix to use if val is a string.

managed boolean <optional>
true

Whether the BigFloat should be managed by the garbage collector.

constant boolean <optional>
false

Whether the BigFloat is a constant.