[Skip to main content](#vessel-content)

#   Rounding Problem For Point Payment

##

- **[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")**
- [![ler@singmuiheng.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile") Topic Author
- [ Offline](/forum/user/3330-ler-singmuiheng-com)

Less More

- Posts: 575
- Thank you received: 11
-
-

8 years 10 months ago [\#286566](#286566) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  *[Rounding Problem For Point Payment](/forum/29-payment-methods/893585-rounding-problem-for-point-payment#286566 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.2 -- PHP version -- : 5.4.45  Hi Case like this , when our order is $79.80, we used point payment method for payment  It is not deducted as 79.80 point, 80 points is deducted  How can we make it deduct exactly as 79.80?  We saw that there is a rounding field in point payment method, what is the value we should enter?")* was created by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")*

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.2
-- PHP version -- : 5.4.45

Hi
Case like this , when our order is $79.80, we used point payment method for payment

It is not deducted as 79.80 point, 80 points is deducted

How can we make it deduct exactly as 79.80?

We saw that there is a rounding field in point payment method, what is the value we should enter?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTM1ODUtcm91bmRpbmctcHJvYmxlbS1mb3ItcG9pbnQtcGF5bWVudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

8 years 10 months ago [\#286568](#286568) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Rounding Problem For Point Payment](/forum/29-payment-methods/893585-rounding-problem-for-point-payment#286568 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.2 -- PHP version -- : 5.4.45  Hi Case like this , when our order is $79.80, we used point payment method for payment  It is not deducted as 79.80 point, 80 points is deducted  How can we make it deduct exactly as 79.80?  We saw that there is a rounding field in point payment method, what is the value we should enter?")*

Hi,

User points are handled as integers (no decimals).
The only solution would be to configure your points plugins so that 1 points equal 1 cent instead of 1 point equal 1 dollar.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTM1ODUtcm91bmRpbmctcHJvYmxlbS1mb3ItcG9pbnQtcGF5bWVudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")**
- [![ler@singmuiheng.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile") Topic Author
- [ Offline](/forum/user/3330-ler-singmuiheng-com)

Less More

- Posts: 575
- Thank you received: 11
-
-

8 years 10 months ago [\#286633](#286633) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  Replied by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")* on topic *[Rounding Problem For Point Payment](/forum/29-payment-methods/893585-rounding-problem-for-point-payment#286633 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.2 -- PHP version -- : 5.4.45  Hi Case like this , when our order is $79.80, we used point payment method for payment  It is not deducted as 79.80 point, 80 points is deducted  How can we make it deduct exactly as 79.80?  We saw that there is a rounding field in point payment method, what is the value we should enter?")*

if that is the case......what is the meaning of the rounding field?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTM1ODUtcm91bmRpbmctcHJvYmxlbS1mb3ItcG9pbnQtcGF5bWVudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

8 years 10 months ago [\#286642](#286642) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Rounding Problem For Point Payment](/forum/29-payment-methods/893585-rounding-problem-for-point-payment#286642 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.2 -- PHP version -- : 5.4.45  Hi Case like this , when our order is $79.80, we used point payment method for payment  It is not deducted as 79.80 point, 80 points is deducted  How can we make it deduct exactly as 79.80?  We saw that there is a rounding field in point payment method, what is the value we should enter?")*

Hi,

I suppose that you're talking about the option:

> Points round down will force a round down on the number of points that the customer could earn

[ www.hikashop.com/support/documentation/257-using-points.html](https://www.hikashop.com/support/documentation/257-using-points.html)
So when you have it off, it rounds normally:
from 10.0 to 10.499999 it's rounded to 10 and from 10.5 to 10.99999 it's rounded to 11.
But when you have it on, it rounds down the points:
from 10.0 to 10.99999 it's rounded to 10.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTM1ODUtcm91bmRpbmctcHJvYmxlbS1mb3ItcG9pbnQtcGF5bWVudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
