EDCS Reference Manual
Functions EDCS AttributeValueToLongFloat |
---|
extern EDCS_Status_Code | ||||
EDCS_AttributeValueToLongFloat | ||||
( | ||||
const | EDCS_Attribute_Value | * | value_ptr, | 1 |
EDCS_Long_Float | * | result_out_ptr | 2 | |
); |
Converts an EDCS_Attribute_Value to an EDCS_Long_Float.
When converting:
boolean: FALSE is 0, TRUE is 1
string: the string is treated as 0
all others: normal mathematical rules apply
EDCS_SC_SUCCESS | and *result_out_ptr is set appropriately, if valid parameters were passed in. |
EDCS_SC_NULL_REQUIRED_PARAMETER | and no changes are made, if any parameter is NULL. |
EDCS_SC_OTHER_FAILURE | and *result_out_ptr is set to zero (0), if *value_ptr is invalid. |
1 pointer to the EDCS_Attribute_Value to be converted
2 pointer to the EDCS_Long_Float where the result will be stored
Next: EDCS_CloneAttributeValue.
Up:Index.
|