• I have been searching articles and items high and low on Google and cant seem to find any relevant code on how to remove the decimal point from WordPress. I am not using woocommerce so that’s not the issue and the plugin I use for bookings uses the WordPress native currency format.
    I tried a couple of codes I found but nothing will remove this decimal point. I am in Japan and I simply need a comma which I will input when adding a price to the car.

    Any good ideas out there are greatly appreciated

    • This topic was modified 2 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @grayson9 you can use the str_replace function. I hope that will solve your issue. Please check here for the example.

    Thread Starter grayson9

    (@grayson9)

    Thank you, Ali,

    Your reply is most welcomed but the only problem is that I have no idea where to put this code whatsoever, I appreciate your thoughtfulness all the same

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing the decimal point’ is closed to new replies.