Get a subroutine argument as a floating‑point value

WTSupported in traditional Synergy on Windows


USupported on UNIX


double get_xarg_fval(DESCRIP **argblock, int arg)



The argument block pointer passed by the Synergy DBL subroutine to the C function.


The number of the argument to reference.


The get_xarg_fval function gets a subroutine argument and converts it into a floating‑point value of the native C “double” type.

The return value is the referenced argument evaluated as a double. If the argument wasn’t passed, the returned value is zero. If the argument is alpha, it is treated as if it were decimal.