private static int devValue(double usrValue, double scale, @Nullable RoundingMode rm) {
    if (rm == null) rm = ROUND;
    return rm.round(usrValue * scale);
  }
private static int devValue(double usrValue, double scale, @Nullable RoundingMode rm)