Skip to content

Commit

Permalink
Removing maximumFractionDigits from nyanoToLocale pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
qwahzi authored Nov 6, 2021
1 parent a44c82c commit 7485894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pipes/nyanoToLocale.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import { Pipe, PipeTransform } from '@angular/core';

export class nyanoToLocalePipe implements PipeTransform {
transform(value: any, args?: any): any {
return Number(value).toLocaleString("en-US", {maximumFractionDigits: 0});
return Number(value).toLocaleString("en-US");
}
}

0 comments on commit 7485894

Please sign in to comment.