mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
@ -423,8 +423,8 @@ class Formatter extends Component
|
||||
if ($value === null) {
|
||||
return $this->nullDisplay;
|
||||
}
|
||||
$ds = isset($this->decimalSeparator) ? $this->decimalSeparator: '.';
|
||||
$ts = isset($this->thousandSeparator) ? $this->thousandSeparator: ',';
|
||||
$ds = isset($this->decimalSeparator) ? $this->decimalSeparator : '.';
|
||||
$ts = isset($this->thousandSeparator) ? $this->thousandSeparator : ',';
|
||||
|
||||
return number_format($value, $decimals, $ds, $ts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user