View Single Post
Old 12-04-2018, 07:49 PM   #1233
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,861
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by davidfor View Post
No, that is not hard at all. But, I said, "without writing extra code". And I had previously stated I couldn't see how to do it without an extra column. That was what I was really hoping to avoid as it feels like overkill. It also means that for every column you don't want the standard formatting, you need a second column with this template. And that's ugly and I was hoping to avoid.
Would it be possible to write a template function (see Preferences->Advanced->Template functions) that formats numbers with commas and a period in the anglo-normal way, and does the regex to change the comma's into space and the period (if any) into a comma.

Then use that template in integer and float column definitions.

BR

Last edited by BetterRed; 12-04-2018 at 08:58 PM.
BetterRed is offline   Reply With Quote