NT_GetValueDouble

Function NT_GetValueDouble 

Source
pub unsafe extern "C" fn NT_GetValueDouble(
    value: *const NT_Value,
    last_change: *mut u64,
    v_double: *mut f64,
) -> NT_Bool
Expand description

Returns the double from the NT_Value. If the NT_Value is null, or is assigned to a different type, returns 0.

§Parameters

  • value: NT_Value struct to get the double from.
  • last_change: Returns time in ms since the last change in the value.
  • v_double: Returns the double assigned to the name.

§Returns

1 if successful, or 0 if value is null or not a double.