细节优化
parent
7becce665e
commit
928813b5de
|
|
@ -452,7 +452,7 @@ function FunEach(&$data)
|
||||||
*/
|
*/
|
||||||
function PriceNumberFormat($value, $decimals = 2, $dec_point = '.')
|
function PriceNumberFormat($value, $decimals = 2, $dec_point = '.')
|
||||||
{
|
{
|
||||||
if(!empty($value))
|
if(isset($value))
|
||||||
{
|
{
|
||||||
return number_format($value, $decimals, $dec_point, '');
|
return number_format($value, $decimals, $dec_point, '');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue