Luna::VariantNumberType
enum VariantNumberType : u8
{
not_number= 0
number_i64= 1
number_u64= 2
number_f64= 3
}
Defines all possible number types of one number variant.
Remark
To fetch the number type of one number variant, call Variant::number_type.
Options
-
This variant is not a number variant.
-
The number is stored in signed 64-bit integer format.
-
The number is stored in unsigned 64-bit integer format.
-
The number is stored in 64-bit floating-point format.