Merge branch 'master' into spencer/docs
# Conflicts: # package-lock.json
This commit is contained in:
@@ -2,7 +2,7 @@ import { Pipe, PipeTransform } from '@angular/core';
|
||||
|
||||
@Pipe({ name: 'tokenRatio' })
|
||||
export class TokenRatioPipe implements PipeTransform {
|
||||
transform(value: any, ...args): any {
|
||||
transform(value: any = 0, ...args): any {
|
||||
return Number(value) / Math.pow(10, 6);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user