Pricing rules decimal precision on Red Hat 3scale API Management

Solution Verified - Updated -

Environment

  • Red Hat 3scale API Management
    • SaaS
    • 2.X On-premises

Issue

We want to set up a pricing rule for a metric to 0.00015 EUR, but the system rounds up the price to 0.0002 EUR. Is there a hard limit of 4 decimals, or can this be configured?

Resolution

Currently 4 decimals is the hard limit for the cost in the pricing rules.

The RFE (Request For Enhancement) THREESCALE-386 has been opened to add support for up to 5 decimal places.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments