Integer64 Operator (FPScript)

23.08.2021

Converts an expression into the 64-bit integer data type.

Syntax

Integer64 Expression

The syntax of the Integer64 operator consists of the following elements:

Element

Description

Expression

Any expression. All data types are permitted.

Remarks

The operator can process scalar values or entire data series and data matrices. If Expression is a data series or a data matrix, then the type conversion takes place on a per-element basis and the result is once again a data series or a data matrix. If a signal, a signal series or a space curve is converted, only the Y component is examined. The result then contains the unchanged X component and possibly the Z component of Expression. If Expression is a list, then the operation is executed for each item in the list and the result is also a list.

In the conversion, the fractional digits in floating point values are truncated. The Boolean value TRUE results in the Value 1L and FALSE results in the value 0L. The operator can be applied to all real and complex data types as well as to calendar times, time spans and strings. The absolute value is formed for complex data types. Strings are interpreted as a value or quantity first and then converted like numerical data. Here the decimal and list separators specified in FlexPro Options are used. The Empty type and a void floating point value result in 0L.

If Expression is a quantity, then it has to have the SI dimension 1 and it will be transformed to the unit 1 before conversion.

Available in

FlexPro View, Basic, Professional, Developer Suite

Examples

Integer64 1.0E10

Returns 1410065408, since an overflow has occurred.

Integer64 (DataSeries + 0.5)

Rounds to zero places after the decimal point.

Integer64 1 N

Returns an error, since the Newton unit does not have the SI dimension 1.

Integer64 2 Pi

Returns 6, since the unit Pi has the SI dimension 1 and 2 Pi transformed to the unit 1 results in the value 6.2831853.

 

See Also

Data Types

ChangeDataType Function

Boolean Operator

Integer16 Operator

Integer32 Operator

FloatingPoint32 Operator

FloatingPoint64 Operator

ComplexInteger16 Operator

ComplexInteger32 Operator

ComplexInteger64 Operator

ComplexFloatingPoint64 Operator

ComplexFloatingPoint64 Operator

String Operator

CalendarTime Operator

TimeSpan Operator

Share article or send as email:

You might be interested in these articles