XPLMGetDataf

XPLM_API float      XPLMGetDataf(
                         XPLMDataRef          inDataRef);

Read a single precision floating point dataref and return its value. The return value is the dataref value or 0.0 if the dataref is NULL or the plugin is disabled.