@opengis/fastify-table
Version:
core-plugins
20 lines • 832 B
TypeScript
/**
* Приведення чисел до стандартизованого виду
*
* @summary Форматування у число. Є можливість використання разом із значком span
* @priority 4
* @type helper
* @tag format
* @alias numFormat
* @example
* {{{num_format (coalesce rows.[0].attr 123.456) dec="2"}}}
* @example
* {{num_format (coalesce price 1) fixed="4"}}
* @example
* {{{num_format (math_sum multilang attr="total" fixed=2)}}}
* @param {String|Number} data Число для форматування
* @param {Object} span False - перевірка чи повернути у вигляді html з тега span
* @returns {String} Returns HTML
*/
export default function numFormat(data: any, options: any): any;
//# sourceMappingURL=num_format.d.ts.map