code: public static NumberBinding divideSafe(ObservableValue<Number> dividend, ObservableValue<Number> divisor, ObservableValue<Number> defaultValue) {
          return Bindings.createDoubleBinding(() -> {
  
              if (divisor.getValue().doubleValue() == 0) {
                  return defaultValue.getValue().doubleValue();
              } else {
                  return dividend.getValue().doubleValue() / divisor.getValue().doubleValue();
              }
  
          }, dividend, divisor);
      }
docs: An number binding of a division that won't throw an {@link java.lang.ArithmeticException}
  when a division by zero happens. See {@link #divideSafe(javafx.beans.value.ObservableIntegerValue,
  javafx.beans.value.ObservableIntegerValue)}
  for more informations.
  
  @param dividend     the observable value used as dividend
  @param divisor      the observable value used as divisor
  @param defaultValue the observable value that is used as default value. The binding will have this value when a
  division by zero happens.
  @return the resulting number binding