formZ SDK | 5.0 API Reference | System | Data Type
Description
This function performs the following data type conversions:
Variant Type Conversion
fzrt_boolean TRUE -> 1.0; FALSE -> 0.0.
char value copied, no data lost.
unsigned char value copied, no data lost.
short value copied, no data lost.
unsigned short value copied, no data lost.
fzrt_int value copied, no data lost.
fzrt_unsigned_int value copied, no data lost.
double value copied, loss of precision. Value clamped to range of FLT_MIN to FLT_MAX.
Plugin Prototype
fzrt_error_td fz_type_get_float(
type, | |
float * | fval ) |
Parameters
type [Input]
A pointer to a variant
fval [Result]
A pointer to a value to be filled. Must be allocated by the caller.
Availability
5.0.0.0
See Also
Function Set
Defined in