Notifications
Clear all

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

1 Posts
2 Users
0 Reactions
3,764 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: 8 years ago
Posts: 1
 

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

More about.....formatting

Patter


   
ReplyQuote
Share:
Scroll to top