Remove debug logging from numberFormatter function
This commit is contained in:
@@ -31,7 +31,6 @@ export function formatNumberWithSpaceSeparator(input: string): string {
|
|||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export function numberFormatter(value: number | string | undefined): string {
|
export function numberFormatter(value: number | string | undefined): string {
|
||||||
console.log("numberformatter input: ", value);
|
|
||||||
const formattedValue = value
|
const formattedValue = value
|
||||||
? Number(value).toLocaleString(undefined, {
|
? Number(value).toLocaleString(undefined, {
|
||||||
useGrouping: false, // Disable thousands separator and do it manually instead so it's always spaces
|
useGrouping: false, // Disable thousands separator and do it manually instead so it's always spaces
|
||||||
|
|||||||
Reference in New Issue
Block a user