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

Developer

API Reference

FUNCTION: FASSIGN_STR()

Brew Release
Brew MP 1.0.2
See Also
Helper Functions
Description
This function returns a double with the value specified by the input string.
Params
pszFloat
[]:
String containing the value to be assigned.
Prototype
  •    double FASSIGN_STR(char *pszFloat);
       
Return
  • Returns a double of the value specified.
Side Effect
  • None
Comments
This is an easy way to initialize floating-point variables. For example FASSIGN_STR("3.1416") returns a double of value 3.1416. This mechanism is useful in BREW modules where an assignment such as double f = 3.1416 causes linkage problems.