🔀 Merge branch 'dev' into feature/add-basic-authentication
This commit is contained in:
@@ -16,3 +16,7 @@ export const formatNumber = (n: number, decimalPlaces: number) => {
|
||||
}
|
||||
return n.toFixed(decimalPlaces);
|
||||
};
|
||||
|
||||
export const formatPercentage = (n: number, decimalPlaces: number) => {
|
||||
return `${(n * 100).toFixed(decimalPlaces)}%`;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user