![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
28 Aug
2017
28 Aug
'17
3:30 a.m.
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"
On 8/27/2017 9:15 PM, Procházka Lukáš Ing. wrote: there is some code deep down but it's in a module ... i'll move that to the converters namespace Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------