Start a new topic

Number conversion: 0.50 > 0,5

The number conversion works fine, but it is converting any number with a trailing decimal zero just as follows:

0.50 becomes 0,5

0.60 becomes 0,6

From a mathematical point of view absolutely correct, but this is not what I want (and what most other translators won't want). Bug or feature? Or did I muss any checkmark anywhere?

T RE: From a mathematical point of view absolutely correct

It's not, actually. From just about all other points of view it's acceptable, but not from a mathematical point of view: 0,50 is far more precise than 0,5.

But this isn't a new feature, is it? It's in the Options, isn't it?


Sorry Hans, from a mathematical point of view it is just absolutely the same and not (in no way) more precise as long as it is not rounded, of course (it appears more precise to us, indeed).

But it is unacceptable, and I did not find anything in the preferences.

0,50 is more precise than 0,5, because the latter can refer to 0,5499999[recurring].

But anyway, which conversion do you use?


Sorry, I need to correct my post. It might be just another problem, and not a CT bug.

I have


in my non-translatables and the automatic transfer of NTs is on.

The question is: Is the RegEX erroneous or does CT do this?

In case of doubt, blame the regex. You can't do comma<>dot conversion with a simple regex. You'll need a three steps regex, and then there will still be things that will go wrong. Stay away from regexes.


|w+\.(\w)+(-)?(\w)*\.\w+ looks like it searches for a URL. But whatever it does, it cannot do anything to your numbers, because the second part (the "Replace" part) is lacking. So you'll have to look for other candidates.


You are right. I remembered having inserted something into my NTs concerning numbers, but I must be wrong (I just checked again).

So we are back to CT.

T RE: You are right.


Get used to it.


So we are back to CT.


Unlikely, unless you checked Format Numbers in Options | Auto-Assembling (and enabled AA), and there you didn't find anything, you said. I don't know what Format Numbers does, because I don't use it, mainly because I didn't even know it existed. Might be useful. Will try. In the meantime, have a look at your regexes again. They stink (in CT).



Just discovered this threat...

Anybody here to explain how to activate number conversion from EN: 10,000 to DE 10.000?

Thanks i.a.


Wolfgang, borrow that Will's glasses, and look at my message exactly above yours.


I have reset all Preferences and then set the AA settings to:


No comma/point conversion is taking place. Why is this?

Test document attached.

(12.7 KB)

Ah, found it (after reading a post of Igor's): I have to set the correct source language. Which sounds logical :).

After setting the source to en-GB, the results are:


Is there a way to have the last line localised to Dutch?

BTW: QA numbers will report errors for the missing zero.

I'm glad to report that number localization now works like a charm here. 


Login to post a comment