Hello,

thank you, Hans...

On Mon, 28 Aug 2017 11:30:49 +0200, Hans Hagen <pra...@wxs.nl> wrote:

On 8/27/2017 9:15 PM, Procházka Lukáš Ing. wrote:
Hello,

is there a built-in (Lua-?)numeric format to produce big numbers with
spaces delimiting thousands (widely used for currencies)?

E.g.:

----
\cldcontext{string.format("%[separate-thousands].0f", 1234567.0)} % To
give: "1 234 567.00"
there is some code deep down but it's in a module ... i'll move that to
the converters namespace

Could you provide a sample?

Best regards,

Lukas

Hans


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.      | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to