细节优化

feat/task1-c-wallet
Devil 2019-12-08 01:38:36 +08:00
parent 7becce665e
commit 928813b5de
1 changed files with 1 additions and 1 deletions

View File

@ -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, '');
} }