view data fixes
This commit is contained in:
@@ -28,4 +28,11 @@ export class NumberFormatter {
|
||||
}
|
||||
return value.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Formats a number as currency.
|
||||
*/
|
||||
static formatCurrency(value: number, currency: string): string {
|
||||
return `${currency} ${this.format(value)}`;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user