hotfix/paypal-note
赵鹏 4 years ago
parent 25853867d1
commit f27931d894

@ -165,12 +165,12 @@ class Currency {
if (empty($value)) return 0;
if (!is_numeric($value)) return $value;
$val_len = strlen($value);
$val_len = strlen(floatval($value));
if ($val_len == 1) return 9;
//$discount = 16;
$discount =6;
$discount = 16;
//$discount =6;
$val_pow = pow(10, $val_len - 1);
$min_val = $val_pow - 1;

Loading…
Cancel
Save