mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +08:00
Fixed additional regression in number formatting
Related to https://github.com/yiisoft/yii2/issues/16934
This commit is contained in:
@ -1797,6 +1797,7 @@ class Formatter extends Component
|
||||
return !(
|
||||
(string) $normalizedValue === (string) $value
|
||||
|| (string) $normalizedValue === (string)((int) $value)
|
||||
|| (string) $normalizedValue === trim((string) $value, '0')
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user