public static <T_ROW, T_COL extends Number> Column<T_ROW, T_COL> decimal(
                final String name,
                final Function<T_ROW, T_COL> columnExtractor,
                final int decimalPlaces) {

            NumberFormat numberFormat = NumberFormat.getNumberInstance();
            numberFormat.setGroupingUsed(true);
            numberFormat.setMinimumFractionDigits(decimalPlaces);
            numberFormat.setMaximumFractionDigits(decimalPlaces);

            return new ColumnBuilder<>(
                    Objects.requireNonNull(name),
                    Objects.requireNonNull(columnExtractor))
                    .rightAligned()
                    .withFormat(numberFormat::format)
                    .build();
        }
A right-aligned column for decimal numeric values, formatted with thousands separator and
the specified fixed number of decimal places.
stroom-util/src/main/java/stroom/util/logging/AsciiTable.java