diff --git a/includes/wcwuunder-create.php b/includes/wcwuunder-create.php index aeb889c..a52d169 100644 --- a/includes/wcwuunder-create.php +++ b/includes/wcwuunder-create.php @@ -207,7 +207,7 @@ private function wcwp_roundButNull($val) return null; } - return round($val); + return round(floatval($val)); } /**