Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

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

1 Posts
2 Users
0 Reactions
4,103 Views
 Phil
(@holmey)
Member Customer
Joined: 9 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