Feature/add fire calculator (#822)
* Add fire calculator * Update changelog
This commit is contained in:
@@ -176,3 +176,7 @@ export function parseDate(date: string) {
|
||||
export function prettifySymbol(aSymbol: string): string {
|
||||
return aSymbol?.replace(ghostfolioScraperApiSymbolPrefix, '');
|
||||
}
|
||||
|
||||
export function transformTickToAbbreviation(value: number) {
|
||||
return value < 1000000 ? `${value / 1000}K` : `${value / 1000000}M`;
|
||||
}
|
||||
|
Reference in New Issue
Block a user