Skip to main content

Number

No overview available.

Attributes

AttributeTypeDescription
Inti64Stores a 64-bit signed integer value for standard numerical operations.
BigIntBigIntStores an arbitrary-precision integer for calculations exceeding the capacity of a standard 64-bit integer.
Floatf64Stores a double-precision 64-bit floating-point number for representing decimal values.
StringStringStores a textual representation of a number, typically used for preserving formatting or handling non-standard numeric inputs.

Constructor

Signature

def Int(
value: i64
) - > [Number](number.md?sid=errors_types_number)

Parameters

NameTypeDescription
valuei64The 64-bit signed integer value to be stored.

Signature

def BigInt(
value: BigInt
) - > [Number](number.md?sid=errors_types_number)

Parameters

NameTypeDescription
valueBigIntThe arbitrary-precision integer value to be stored.

Signature

def Float(
value: f64
) - > [Number](number.md?sid=errors_types_number)

Parameters

NameTypeDescription
valuef64The 64-bit floating-point value to be stored.

Signature

def String(
value: String
) - > [Number](number.md?sid=errors_types_number)

Parameters

NameTypeDescription
valueStringThe string-based numeric value to be stored.