📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Fix number precision
Blue Mouse8e07c9f538c1
diff --git a/web/app/pages/Billing/index.tsx b/web/app/pages/Billing/index.tsxindex 3e43192f2..d38df4b99 100644--- a/web/app/pages/Billing/index.tsx+++ b/web/app/pages/Billing/index.tsx@@ -67,6 +67,7 @@ const Billing = () => {const isNoSub = planCode === 'none'const totalUsage = maxEventsCount ? _round((usageInfo.total / maxEventsCount) * 100, 2) : 0+ const remainingUsage = _round(100 - totalUsage, 2)const [isLoading, setIsLoading] = useState(true)@@ -443,7 +444,7 @@ const Billing = () => {{t('billing.xPercentUsed', { percentage: totalUsage })}</p><p className='text-sm text-gray-600 dark:text-gray-400'>- {t('billing.xPercentRemaining', { percentage: 100 - totalUsage })}+ {t('billing.xPercentRemaining', { percentage: remainingUsage })}</p></div>