Updates to Revenue report.
This commit is contained in:
1 parent
4995a0e1e4
commit
095d1f2070
19 files changed
+365
-416
No files matched your search
+1
-1
@@ -83,7 +83,7 @@ export function stringToColor(str: string) {
|
||||
}
|
||||
|
||||
export function formatCurrency(value: number, currency: string, locale = 'en-US') {
|
||||
let formattedValue;
|
||||
let formattedValue: Intl.NumberFormat;
|
||||
|
||||
try {
|
||||
formattedValue = new Intl.NumberFormat(locale, {
|
||||
|
||||
Reference in new issue
Block a user