> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/configurations/sale-voucher-configuration/other-settings-3/rate-decimal.md).

# Rate Decimal

**YouTube:** [How to Set Decimal Precision for Rates in the Sale Bill ?](https://www.youtube.com/watch?v=H9t10RLFbNE)

## How to Set Decimal Precision for Rates in the Sale Bill?

In this tutorial, we’ll guide you through the steps to **customize the number of decimal places** for item rates in packs and units within Logic ERP. This setting allows for greater precision when entering rates in sales transactions.

***

### Understanding the Default Behavior

By default:&#x20;

* **Pack/strip rates** are limited to **2 decimal places**.
* **Unit rates** also default to **2 decimal places**.

However, this might not be sufficient for businesses that deal with high-precision pricing (e.g., pharmaceuticals, electronics, or items sold in fractional quantities).

***

### Step-by-Step: Enabling Extended Rate Decimals

* Navigate to the **Sale Voucher Configuration**.
* Select the desired **Series** from the dropdown list.
* Navigate to the **Other Settings – 3** tab.
* Locate the option: **"Rate Decima**&#x6C;**"**
* From the dropdown, select either:
  * Default&#x20;
  * Packs=4. Units=7

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FfELsbCC44F2sWTlnIMhc%2FRate%20Decimal%20-%20packs.png?alt=media&amp;token=a0f77ace-3530-4d10-a0c3-d69971c2a626" alt=""><figcaption><p>As mentioned above, follow the given steps and select the appropriate option from the dropdown as per your requirement.</p></figcaption></figure>

* Switch from **“Default”** to **“4 Decimal (Packs) / 7 Decimal (Units)”**.
* **Click Save** to apply the changes.

***

### Testing the Configuration

Let’s validate the new settings with a quick test:

**For Packs:**

* Choose a conversion factor such as **strip**.
* Enter a rate like 125.4567.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FI4cUfYaEb46c5mnY9yBQ%2FSale%20Rate%204%20decimal.png?alt=media&amp;token=a48d07e1-dea7-41f6-9376-a7628db10e5c" alt=""><figcaption><p>As you can see in the picture, the software is allowing only 4 decimal places in the Sale Rate.</p></figcaption></figure>

* The system now **accepts up to 4 decimal places** for the pack rate.

**For Units:**

* Enter a rate such as 5.1234567.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FbCsMNACPEkBKoHmTYhFN%2FSale%20Rate%207%20Decimal.png?alt=media&amp;token=21ee2a86-e916-4e66-a222-95804c307338" alt=""><figcaption><p>As you can see in the picture, the software is allowing only 7 decimal places in the Sale Rate.</p></figcaption></figure>

* You’ll see the system allows **up to 7 decimal places** for unit-level precision.

***

### Summary

By enabling this feature, you can:

* Maintain **high precision** in pricing.
* Avoid rounding issues in **bulk or sensitive item billing**.
* Ensure accurate records for compliance and audits.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/configurations/sale-voucher-configuration/other-settings-3/rate-decimal.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
