Improve rounding in conversion rate
-
I have a suggestion for avoiding round inaccuracy in admin/partials/menu/manage-forms.php on line 188. If we firstly multiply by 100 and only then divide by $form[‘impressions’] we’ll have more accurate result. Also, it would be good if you can extend rounding to 3 or 4 digits. We have a conversion about 0.04 % in some forms and in shows as just 0% due to rounding (conversion is ok for sidebar banner).
So, I suggest you to change line 188 to:
> $conversion_rate = round( 100 * $form[‘submissions’] / $form[‘impressions’] , 4 );Thank you!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Improve rounding in conversion rate’ is closed to new replies.