uCalc API Version: 2.1.3-preview.2 Released: 6/16/2026
Warning
uCalc API Preview Release Notice:The documentation describes the intended behavior of the API. The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.
BuiltInType
Enum
Product:
Class:
Data types that come with uCalc
| Name ▲ ▼ | Value ▲ ▼ | Description ▲ ▼ |
|---|---|---|
| Unspecified | ||
| Auto | ||
| Boolean | Boolean | |
| Size_t | ||
| Integer_8 | Int8 | |
| Integer_8u | Byte | |
| Integer_16 | Int16 | |
| Integer_16u | Int16u | |
| Integer_32 | Int32 | |
| Integer_32u | Int32u | |
| Integer_64 | Int64 | |
| Integer_64u | Int64u | |
| Integer_128 | Int128 | |
| Integer_128u | Int128u | |
| Float_Single | Single | |
| Float_Double | A 64-bit double-precision floating-point number. This is the default numeric type for most math operations. | |
| Float_Extended | Extended | |
| Complex | ||
| Decimal | ||
| BigNum | ||
| Date | ||
| String | ||
| StringView | ||
| String_LPCSTR | LPCSTR | |
| String_Fixed | FixedStr | |
| String_Wide | WideStr | |
| List_Stack | StackList | |
| List_Table | TableList | |
| List_Sorted | SortedList | |
| Null | ||
| Void | Indicates that a function returns no value. | |
| Any | ||
| Pointer | ||
| Omni | ||
| UserDefined | ||
| DataType | ||
| Namespace | ||
| IntPtr | ||
| ADDR | ||
| uCalcPtr | ||
| Item | ||
| ParsedExpr | ||
| uCalcCallback | ||
| Object | ||
| Intrinsic | ||
| SameTypeAs | ||
| DiagAll | ||
| DiagAllClasses | ||
| DiagAllTypes | ||
| DiaguCalc | ||
| DiagDataType | ||
| DiagItem | ||
| DiagDataFormat | ||
| DiagMatchList | ||
| DiagParsedExpression | ||
| DiagStringItem | ||
| DiagTable |
Remarks
This Enum contains a list of built-in data types that come with uCalc.
It can be used with functions that expect a data type. For instance, you can specify a data type other than the default Double for [topic: uCalc.Parse]. You can also set the default data type for a uCalc instance with [topic: uCalc.DefaultDataType]. Typically with such functions, you can use either a [topic: uCalc.DataType] object, a string containing the data type name, or a BuiltInType Enum member for functions that require a data type. A string is the least efficient, while a data type object is the most efficient. Internally an enum is first converted to a data type object.
To set up a data type though with [uCalc.DataTypeOf] you can pass a member from this Enum.
If you have a data type object, you can retrieve the Enum numeric value associated with that type using [topic: uCalc.DataType.Index]
Note: Not all of the listed data types are implemented in the current version.