The user has the ability to control the format of the output string by using a format string. Additionally, the interface allows the user to obtain a handle for a given format. This handle can then be used to convert numbers to strings. Using the format handle is more efficient then doing the conversion without it.
Public Member Functions | |
HRESULT | DoubleToText ([in] double Number,[in, optional]BSTR Format,[in, defaultvalue(-1)] Int32 Locale,[out, optional] Int32 *pColor,[out, retval] BSTR *pText) |
Converts a double into a string. | |
HRESULT | DoubleToTextH ([in] double Number,[in] Int32 Handle,[in, defaultvalue(-1)] Int32 Locale,[out, optional] Int32 *pColor,[out, retval] BSTR *pText) |
Converts a double into a string using a handle. | |
HRESULT | GetFormatHandle ([in] BSTR Format,[in, defaultvalue(-1)] Int32 Locale,[out, retval] Int32 *pHandle) |
Obtains a handle for a particular number format. | |
HRESULT | LongToText ([in] Int32 Number,[in, optional] BSTR Format,[in, defaultvalue(-1)] Int32 Locale,[out, optional] Int32 *pColor,[out, retval] BSTR *pText) |
Converts a long into a string. | |
HRESULT | LongToTextH ([in] Int32 Number,[in] Int32 Handle,[in, defaultvalue(-1)] Int32 Locale,[out, optional] Int32 *pColor,[out, retval] BSTR *pText) |
Converts a long into a string using a handle. | |
HRESULT | TextToDouble ([in] BSTR Text,[in, defaultvalue(-1)] Int32 Locale,[out, retval] double *pNumber) |
Converts a string into a double. | |
HRESULT | TextToLong ([in] BSTR Text,[in, defaultvalue(-1)] Int32 Locale,[out, retval] Int32 *pNumber) |
Converts a string into a long. |
|
Converts a double into a string. This method converts a double value to a string.
|
|
Converts a double into a string using a handle. This method converts a double value to a string. Instead of using a format string, it uses a format handle. This handle needs to be obtained by a call to GetFormatHandle. Using this call is more efficient than DoubleToText.
|
|
Obtains a handle for a particular number format. This method returns a format handle for a given Format/Locale pair. This handle can be used in calls to DoubleToTextH and LongToTextH.
|
|
Converts a long into a string. This method converts a long value to a string.
|
|
Converts a long into a string using a handle. This method converts a long value to a string. Instead of using a format string, it uses a format handle. This handle needs to be obtained by a call to GetFormatHandle. Using this call is more efficient than LongToText.
|
|
Converts a string into a double. This method converts a string value to a double.
|
|
Converts a string into a long. This method converts a string value to a long.
|