system.kanoa.utilities.formatNumber
Description
Given a number or string representation of a number, this function will return the number formatted to the passed-in format (kanoaCore).Syntax
formatNumber(format, value)- format (String) - Format string (e.g., '#,###.0').
- value (Number) - The number to be formatted.
- String - The formatted number.
Code Example
# Example Usage:
formatted_number = system.kanoa.utilities.formatNumber('#,###.0', 12345.678)