09.05.2022, 09:33
This should work:
Code:
num = 1000000012345685
str = string.format("%.16g", num)
LUA Scientific Conversion loose decimal
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
LUA Scientific Conversion loose decimal - by emme - 09.05.2022, 09:15
RE: LUA Scientific Conversion loose decimal - by admin - 09.05.2022, 09:33
RE: LUA Scientific Conversion loose decimal - by emme - 09.05.2022, 09:57
RE: LUA Scientific Conversion loose decimal - by admin - 09.05.2022, 10:01
RE: LUA Scientific Conversion loose decimal - by emme - 09.05.2022, 10:46
RE: LUA Scientific Conversion loose decimal - by emme - 10.05.2022, 06:13
RE: LUA Scientific Conversion loose decimal - by admin - 10.05.2022, 06:19
|