Created
September 27, 2021 11:49
-
-
Save ABooooo/b7087d147c82a429b85b893574922f9b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// convert to number in currency format | |
var invValueFormat = new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(response.result.sumCostPrice); | |
// remove dot and replace with space | |
invValueFormat = invValueFormat.replace(/\./g, ' '); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment