Swap Thousands/Decimals
Change English-style thousands separators and decimal separators to non-English style and vice versa.
Oops, you’re not logged in!
Log in or sign up for a free account.
This script is part of the Type and Text collection. See the full collection here.
The script changes English-style numbers (decimal points, commas for thousands separators) to non-English style (decimal commas, periods for thousands separators) or the other way around.
The script has no interface. It simply exchanges one style for the other in what’s selected when you run it. That selection can be one of the following three types:
- Select nothing at all to process a whole document.
- Select some text to process just the selection.
- Select a text frame to process the story of which the selected text frame’s content is part. Note: to process the contents of just one text frame, select the contents of that frame, not the frame itself. This goes only for threaded frames: to process an unthreaded frame, it doesn’t matter whether you select that frame or its contents.
Version history
9 May 2021: The script didn’t work well with selections in/of tables. Fixed.
26 Feb. 2019: Fixed an incompatibility.
14 Feb. 2011: Posted.
Peter Kahrel Script Repository
Hosted as a community service, and with deep appreciation, by CreativePro.com
Scripts by Topic | Script Index
Basic Script Installation and Use
How to Modify or Configure These Scripts
Resources for Scripting and Publishing Automation
About This Repository
Contact Peter Kahrel
Note to users: You run scripts at your own risk: CreativePro and the author accept no liability for anything that may be caused by any of these scripts. Always take the necessary precautions. We encourage you to save backups and test scripts on copies of your documents.
This article was last modified on September 30, 2026
This article was first published on January 23, 2026
Commenting is easier and faster when you're logged in!
Recommended for you
About This Repository
Feel free to download and use the scripts listed on this site. You run scripts a...
Create a Flat-bottomed Stroke
Our guru of strokes reveals another trick: How to create a stroke that has round...
CreativePro Video: How to Use Camera Raw in Photoshop
In the following CreativePro video, Michael Ninness shows us how to use Camera R...
