@tetacom/ng-components 1.6.25 → 1.6.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4046,7 +4046,7 @@ class NumberPipe {
|
|
|
4046
4046
|
if (value === null || value === undefined || value === '') {
|
|
4047
4047
|
return '';
|
|
4048
4048
|
}
|
|
4049
|
-
if (typeof value === 'string' && isNaN(
|
|
4049
|
+
if (typeof value === 'string' && isNaN(Number(value))) {
|
|
4050
4050
|
return value.toString();
|
|
4051
4051
|
}
|
|
4052
4052
|
if (decimalLength === null) {
|