Question: Customer Group Percentage Value

Customer Group Percentage Value

Hi, im trying to set customer group discount percentage to 4.8 but it keeps round it up to 5. How can i stop it from rounding up the percentage value?

R

Rain

Asked
Hi, im trying to set customer group discount percentage to 4.8 but it keeps round it up to 5. How can i stop it from rounding up the percentage value?
  • MS

    Mian Saleem

    Answered
    Hello,

    The customer group percentage is the integer. To make it accept decimals, you can run the following query after selecting your database

    ```
    ALTER TABLE `sma_customer_groups` CHANGE `percent` `percent` DECIMAL(10,2) NOT NULL;
    ```
    Thank you
  • Login to Reply