Docs

Log into read the version of docs relevant to your site.

What is multi-decimal support in Chargebee? How does it work?

Problem Statement

You want to understand what multi-decimal support is and how it works in Chargebee.

  • What is the default multi-decimal support offered by Chargebee?

Solution

By default, Chargebee allows configuring product pricing and units with a maximum of two decimal places. Using more than two decimal places with default settings can lead to overcharging or undercharging due to rounding.

With multi-decimal pricing enabled, you can use up to 20 decimal places when specifying price and quantity for plans and addons.

Product prices and quantities with multiple decimal places (as configured) are used in full for invoice amount computation, tax application, reporting, and third-party integrations.

Was this article helpful?