SUPPORT-8996: check fix format
This commit is contained in:
parent
04a1132b71
commit
3be5b687d2
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ import {FormatterUtils} from "./FormatterUtils";
|
||||||
|
|
||||||
export class NumberToLocalStringFormatter implements TextFormatter {
|
export class NumberToLocalStringFormatter implements TextFormatter {
|
||||||
format(value: string): string {
|
format(value: string): string {
|
||||||
return FormatterUtils.toLocalString(value);
|
var result = FormatterUtils.toLocalString(value);
|
||||||
|
return result ? result : '0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue