class FormatFunction {

	@FunctionMeta(description = "Format number with message pattern with auto scaling", example = "${w:formatNumber(12345, '0.#', 'B')}")
	public static String formatNumber(Number data, String pattern, String suffix) {
		return Formats.forNumber().format(data, pattern, suffix);
	}

}