Number
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| Int | i64 | Stores a 64-bit signed integer value for standard numerical operations. |
| BigInt | BigInt | Stores an arbitrary-precision integer for calculations exceeding the capacity of a standard 64-bit integer. |
| Float | f64 | Stores a double-precision 64-bit floating-point number for representing decimal values. |
| String | String | Stores 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
| Name | Type | Description |
|---|---|---|
| value | i64 | The 64-bit signed integer value to be stored. |
Signature
def BigInt(
value: BigInt
) - > [Number](number.md?sid=errors_types_number)
Parameters
| Name | Type | Description |
|---|---|---|
| value | BigInt | The arbitrary-precision integer value to be stored. |
Signature
def Float(
value: f64
) - > [Number](number.md?sid=errors_types_number)
Parameters
| Name | Type | Description |
|---|---|---|
| value | f64 | The 64-bit floating-point value to be stored. |
Signature
def String(
value: String
) - > [Number](number.md?sid=errors_types_number)
Parameters
| Name | Type | Description |
|---|---|---|
| value | String | The string-based numeric value to be stored. |