Float64 Function
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
Float64 Function
Syntax
Number Float64(AnyType value)
Return Value
This function converts a type to a number with a representation of Double Precision 64-bit Floating Point. 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
Float64
expression.
For example:
Locals.MyNumber = #NoValidation(Float64(Locals.MyEmptyString))
.