Equivalent to choosing the Number tab in the Format Cells dialog box
static int FormatNumber( LPCTSTR format_text );
Format_text is a format string, such as "#, ##0.00", specifying which format to apply to the selection.
Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.
See the Microsoft Excel on-line Help for full details about this function.