View Single Post
Old 12-04-2018, 11:10 PM   #1234
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by BetterRed View Post
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.
I don't know. The formatting appears to just be calling a Python format function. I don't know if that can be extended in a way that it can be used here.
davidfor is offline   Reply With Quote