Skip to content

Commit

Permalink
Fixing nanoToLocale
Browse files Browse the repository at this point in the history
  • Loading branch information
qwahzi authored Nov 6, 2021
1 parent 83b8c68 commit bd681a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/pipes/nyanoToLocale.pipe.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
name: 'nyanoToLocalePipe'
name: 'nyanoToLocale'
})

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

0 comments on commit bd681a7

Please sign in to comment.