Skip to content

Commit

Permalink
Render percentages with maximum 4 digits
Browse files Browse the repository at this point in the history
  • Loading branch information
nicwortel committed Aug 1, 2024
1 parent 7b8e465 commit 15176f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pricing/PercentageFee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class PercentageFee implements Fee {
public describe(): string {
const numberFormatter = new NumberFormatter();

return numberFormatter.formatPercentage(this.percentage / 100, 3);
return numberFormatter.formatPercentage(this.percentage / 100, 4);
}

public getExtendedDescription(): string[] {
Expand Down

0 comments on commit 15176f9

Please sign in to comment.