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
| function kr(value) { | |
| return new Intl.NumberFormat("da-DK", { | |
| style: "currency", | |
| currency: "DKK", | |
| maximumFractionDigits: 0 | |
| }).format(value); | |
| } | |
| function pct(value) { | |
| return value.toFixed(2).replace(".", ",") + " %"; |