code: public static String fixed(EvaluationContext ctx, Object number, @IntegerDefault(2) Object decimals, @BooleanDefault(false) Object noCommas) {
          BigDecimal _number = Conversions.toDecimal(number, ctx);
          _number = _number.setScale(Conversions.toInteger(decimals, ctx), RoundingMode.HALF_UP);
  
          DecimalFormat format = new DecimalFormat();
          format.setMaximumFractionDigits(9);
          format.setGroupingUsed(!Conversions.toBoolean(noCommas, ctx));
          return format.format(_number);
      }
docs: Formats the given number in decimal format using a period and commas