ImageGear for C and C++ on Windows v19.3 - Updated
IG_gui_decimalstr_convert
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > Utility Functions > IG_gui_decimalstr_convert

This function can be used to convert digital value to string in format "XXX,XXX,XXX,XXX" with "," separator after each 3 digits starting from the end.

Declaration:

 
Copy Code
VOID  ACCUAPI  IG_gui_decimalstr_convert(
        DWORD dwValue,
        LPCHAR lpStr,
        UINT nStrBufferSize
);

Arguments:

Name Type Description
dwValue DWORD Any digital value.
lpStr LPCHAR The string of converted dwValue in format "XXX,XXX,XXX,XXX".
nStrBufferSize UINT The size of lpStr buffer.

Return Value:

None

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

GUI Windows

Remarks:

The second parameter is a buffer where to return data and last parameter is a size of buffer.