Number import { Number } from "destack:math"; Number constants and parsing functions. export class Number { EPSILON: float64; MAX_VALUE: float64; MIN_VALUE: float64; MAX_SAFE_INTEGER: float64; MIN_SAFE_INTEGER: float64; POSITIVE_INFINITY: float64; NEGATIVE_INFINITY: float64; NaN: float64; toString(radix?: float64 | undefined): Cow<"frame", string>; toFixed(fractionDigits?: float64 | undefined): Cow<"frame", string>; toExponential(fractionDigits?: float64 | undefined): Cow<"frame", string>; toPrecision(precision?: float64 | undefined): Cow<"frame", string>; toLocaleString(locales?: string | string[] | undefined, options?: NumberFormatOptions | undefined): Cow<"frame", string>; valueOf(): float64; static isFinite(value: unknown): boolean; static isInteger(value: unknown): boolean; static isNaN(value: unknown): boolean; static isSafeInteger(value: unknown): boolean; static parseFloat(text: string): float64; static parseInt(text: string, radix?: float64 | undefined): float64; } language/library/src/math/number.ds:104:195 Members EPSILON: float64 Difference between 1 and the next representable float64 value. MAX_VALUE: float64 The largest finite float64 value. MIN_VALUE: float64 The smallest positive float64 value. MAX_SAFE_INTEGER: float64 The largest exactly representable integer in a float64. MIN_SAFE_INTEGER: float64 The smallest exactly representable integer in a float64. POSITIVE_INFINITY: float64 Positive infinity. NEGATIVE_INFINITY: float64 Negative infinity. NaN: float64 Not-a-number. toString(radix?: float64 | undefined): Cow<"frame", string> Return this number as a string. toFixed(fractionDigits?: float64 | undefined): Cow<"frame", string> Return this number in fixed-point notation. toExponential(fractionDigits?: float64 | undefined): Cow<"frame", string> Return this number in exponential notation. toPrecision(precision?: float64 | undefined): Cow<"frame", string> Return this number with the requested precision. toLocaleString(locales?: string | string[] | undefined, options?: NumberFormatOptions | undefined): Cow<"frame", string> Return this number as a locale-aware string. valueOf(): float64 Return the primitive number value. static isFinite(value: unknown): boolean Return whether value is finite. static isInteger(value: unknown): boolean Return whether value is an integer. static isNaN(value: unknown): boolean Return whether value is NaN. static isSafeInteger(value: unknown): boolean Return whether value is exactly representable as an integer. static parseFloat(text: string): float64 Parse a float64 from text. static parseInt(text: string, radix?: float64 | undefined): float64 Parse an integer from text.