Home › Forums › General Issues › Insert Commas into ACF number field › Reply To: Insert Commas into ACF number field
@shambix where are you trying to replace . with ,?
In the input field? If this is the case then the browser is supposed to use the correct character for a decimal point based on the user’s language preference. At lease this is my understanding of the way it’s supposed to work. Unfortunately, not all browsers support this. ACF is simply outputting <input type="number" />
If you mean formatting the number on the front end then I don’t have an answer. ACF does not do any formatting for number fields. Unless you add formatting of some kind ACF returns exactly what is stored in the database.
In both cases, nothing in ACF is setting or altering the way numbers are displayed.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.