Converts a __int64 (64bit numeric value) value into the requested format.

Int642Str(yqcnValue [, nFormat])

Parameters

cnValue

A numeric value in the range –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.

The parameter can be passed in 4 different formats.
1. As a currency value.
2. As a 8 byte varbinary string.
3. As a string literal e.g. "-1234567890123"
4. As a normal VFP numeric value.

nFormat (optional)

default = 1

Specifies the format of the return value.

One of the following values.
FormatDescription
18 byte binary string.
2String literal.

Return Value

The __int64 value in the requested format.

See Also

Reference

Colors2RGB
Double2Str
Float2Str
Long2Str
Num2Binary
PG_ByteA2Str
PG_Str2ByteA
RGB2Colors
Short2Str
Str2Double
Str2Float
Str2Int64
Str2Long
Str2Short
Str2UInt64
Str2ULong
Str2UShort
UInt642Str
ULong2Str
UShort2Str
Value2Variant
Variant2Value