Function CSPWString::GetInt64Val()

Description:
Retrieves the 64bit integer number represented by the string.

Micronovae Prototype:
__int64 GetInt64Val() const;

Arguments:
No arguments (void).

Return value:
Returns a 64bit integer number.

Remarks:
If the string does not represent any number, it returns zero.
Also, if the string contains both numeric and non numeric characters, the evaluation stops at the first non numeric character.

Examples:
CSPWString wstrNumber = L"1234567890123456789";
__int64 iNumber = wstrNumber.GetInt64Val();

See also:
member functions GetIntVal(), GetDoubleVal()
CSPWString | Basic classes | Class Categories | Online help home | Back

Copyright © 2002 - 2006 Micronovae Ltd. - www.micronovae.com