UInt64 Function

Syntax

Number {Unsigned 64-bit Integer} UInt64(Any Type value)

Return Value

Number

This function converts a type to a number with a representation of Unsigned 64-bit Integer. The function cannot convert a container or array data type to a number, and cannot convert an empty string to a number.

Note The TestStand Sequence Analyzer reports an error if an expression specifies to convert a string value and the string value is empty at edit-time. You can use the #NoValidation function to instruct the analyzer to ignore the UInt64 expression. For example: Locals.MyNumber = #NoValidation(UInt64(Locals.MyEmptyString)) .
Note Do not use this to create a 64-bit integer constant. Use the ui64 suffix instead, for example, 18446744073709551615ui64 or 0xffffffffffffffffui64. For more information about floating point constants, you can view the Description field in the Constants » Other section of the Operators/Function tab in the Expression Browser dialog box.