14 Nov
2024
14 Nov
'24
7:59 a.m.
Am 15.10.24 um 17:16 schrieb Hans Hagen via ntg-context:
On 10/15/2024 2:33 PM, juh+ntg-context--- via ntg-context wrote:
local sum = string.formatters["%0.2M"](0.3 * 100)
This does not work here with numbers with more than three digits. \starttext \startluacode context(string.formatters["%0.2M"](1000)) \stopluacode \stoptext Gives 10.2000,00 juh