added helper method for float/double bindings with two args