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

Developer

API Reference

FUNCTION: STRTOD()

Brew Release
Brew MP 1.0.2
See Also
Helper Functions
Description
This function converts the initial portion of the string pointed to by pszFloat to type double. It ignores any preceding white space, tabs or "+" characters, and converts the subsequent substring (excluding the final string, if any, of unrecognized characters) to type double. On return, ppszEnd is populated with the address of the final string of unrecognized characters.
Params
pszFloat
[]:
NULL-terminated string to convert.
ppszEnd
[]:
Pointer to the character that stops the conversion.
Prototype
  •    
       double STRTOD(const char *pszFloat, char ** ppszEnd);
    
Return
  • Returns the value of the floating point number.
Side Effect
  • None
Comments
None