Int64 Function
- 업데이트 날짜:2025-07-21
- 1분 (읽기 시간)
Int64 Function
Syntax
Number {Signed 64-bit Integer} Int64(AnyType value)
Return Value
This function converts a type to number with a representation of Signed 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
Int64
expression.
For example:
Locals.MyNumber = #NoValidation(Int64(Locals.MyEmptyString))
.
Note
Do not use this to create a 64-bit integer constant. Use the i64 suffix instead. For example, 9223372036854775807i64 or 0x7fffffffffffffffi64. 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.