Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

Edit price range from 1 to 2 decimal places...

1 Posts
2 Users
0 Reactions
4,614 Views
 Phil
(@holmey)
Member Customer
Joined: 10 years ago
Posts: 3
Topic starter  

 Hi,

Is there any way I can edit it so that the price range is to 2 decimal figures, (2.95 instead of £2.9 as in the image on the link below).

Price Range

I've searched the woocs-fuctions.php file, and can't find anywhere to edit this.

Any help really appreciated, my client is doing their nut in over this, saying that it spoils the site and says if this can't be fixed, she wants the slider removing, something I don't want to do as I think it is effective.

Regards,

Phil

 



   
Quote
(@rampatter)
New Member
Joined: 9 years ago
Posts: 1
 

Double d = 100.123456;
Double dc = Math.Round((Double)d, 2);

More about.....formatting

Patter



   
ReplyQuote
Share:
Scroll to top