API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

FUNCTION: FLOATTOWSTR()

Brew Release
Brew MP 1.0.2
See Also
WSTRTOFLOAT() Helper Functions AECHAR
Description
This function converts a floating point value to a wide (AECHAR) string. Internally, this function first converts the given float value into a single-byte string using the standard C library function sprintf(). It then uses STRTOWSTR() to convert this single-byte string into a wide string.
Params
v
[]:
Floating point value that must be converted into a wide string.
psz
[]:
Pointer to a wide-string buffer to hold the resulting wide string.
nSize
[]:
size (in bytes) of the psz buffer
Prototype
  •    boolean FLOATTOWSTR(double v, AECHAR *psz, int nSize);
    
Return
  • Returns TRUE if successful.
    Returns FALSE if failed.
Side Effect
  • None
Comments
None