XLL+ Class Library

CXlFuncs::Text

Converts a value to text in a specific number format

[C++]
static int Text(
   CString& strtext,
   double dvalue,
   const char* format_text
);
static int Text(
   CString& strtext,
   const CXlOper& value,
   const char* format_text
);

Parameters

strtext

A reference to a string that will contain the requested data if the macro succeeds.

dvalue

Input value.

format_text

Column number.

value

Input value.

Return value

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.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlFuncs Class | CXlFuncs Methods