﻿ Issue with number formats - Ultimate WordPress Plugins by Supsystic

# Issue with number formats

Viewing 5 posts - 1 through 5 (of 5 total)
• Author
Posts
• #14975

pka
Participant

The formatting of numbers through “Settings” in a given table has the following problem.
With the 2000 (format entered) and number setting = 1 yields: 2000. Changing setting = 1.00 yields: 2000.00. Further changing setting = 1,000.00 yields 2,000.00. Now: changing settings = 1,000 yields: 2000,000! and entering 2 in a cell yields: 2,000. How to solve this decimal-like behavior of the thousand separator?

#14982

Hi @pka

If I understood you right you want to use comma like a separator for thousands.
For this try to enter 1,000. at Number field of Data Format Settings – http://prntscr.com/fzibu2

In the cause I misunderstood you, please provide the detailed description of what you want to get in the result.

#14987

pka
Participant

Yes, I wish to use the “,” as a thousand separator in integers: 2 2000 etc >> 2 2,000 etc

If I enter 1,000 in the Number field of Data Format Settings and enter the number “2”. then the output is “2,000” and NOT “2” as expected.
If I enter 1,000 in the Number field of Data Format Settings and enter the number “2000”. then the output is “2000,000” and NOT “2,000” as expected.

If I enter 1,000.00 in the Number field of Data Format Settings and enter the number “2” then the output is “2.00” as expected.
If I enter 1,000.00 in the Number field of Data Format Settings and enter the number “2000”. then the output is “2,000.00” as expected.

#14992

Hi @pka

In order to get comma like thousands separator with out additional zeros, please make sure you entered 1,000. (one comma zero zero zero dot) inside Number field of Data Format Settings and saved changes – http://prntscr.com/fzibu2 . Then, go to front end to see the result. In the case you don’t see any changes try to clean cache in your cache plugin, clean cache in your browser and reload the page.

#14993

pka
Participant

That was a clever touch, thank you very much. It solved the problem.
Also, appreciate very much your expedient response.

Viewing 5 posts - 1 through 5 (of 5 total)
• You must be logged in to reply to this topic.