Skip to content

Conversation

@Polleps
Copy link
Member

@Polleps Polleps commented Jan 23, 2024

PR Checklist:

@Polleps Polleps marked this pull request as ready for review January 23, 2024 14:48

return formatter.format(value);
} catch (e) {
console.error(e);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be handleError

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh this catch should actually do nothing and just let the formatter continue to format the value as if it were just a number as this only triggers when the currency is not supported by the browser.

@joepio joepio merged commit d11726e into develop Jan 23, 2024
@joepio joepio deleted the #764-currency-formating branch January 23, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce the financial format for Number Column

3 participants