![]() |
MKI_ConvertNumberString (Strings) New in Version 2020.2 |
www.CAD6.com |
C++ Syntaxbool MKI_ConvertNumberString( LPWSTR f_pszText, __int64 f_nNumber );
Converts a number to a string using thousands separators. This can be used to display numerical values that usually reach high values.
ParametersText [LPWSTR] Text buffer to receive the converted number string. Allow at least MKI_LENGTH_NAME_SHORT characters! The result will be in the format "-12,345,678". Bytes [__int64] Integer number to be converted into a string.
Return ValueReturns true if successful. If false is returned, Text is unchanged.
CommentThis conversion will consider the decimal separator defined by the user (point or comma).
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH