print prints floating point with a comma
Posted: Wed Aug 04, 2021 9:16 am
Hi there, i have a new mac mini running big sur,
I pinpointed some issues i have to the following weirdness:
on my old machine
prints
on the new machine it results in
I dont understand why and its causing issues down the line, for example with string.format and tonumber()
It could be that there is something deeper even, because without print() the issue is there too, for example
this suddenly returns nil, where it should or did return 1.123
anyone know what todo about it ?
I pinpointed some issues i have to the following weirdness:
on my old machine
Code: Select all
print(1.123)
Code: Select all
1.123
Code: Select all
1,123
It could be that there is something deeper even, because without print() the issue is there too, for example
Code: Select all
tonumber(string.format("%.3f", 1.123456))
anyone know what todo about it ?