print(tostring(123344.123455634)) --> 123344.125If anyone happens to have a solution I'd be very grateful
Edit: It seems that I need to bypass tonumber() rounding as well now, is there anyway to do that?
Posted 01 June 2013 - 09:51 PM
print(tostring(123344.123455634)) --> 123344.125If anyone happens to have a solution I'd be very grateful
Posted 01 June 2013 - 09:56 PM
print(string.format("%f", 123344.123455634))
Posted 01 June 2013 - 10:05 PM
theoriginalbit, on 01 June 2013 - 09:56 PM, said:
print(string.format("%f", 123344.123455634))
Posted 01 June 2013 - 10:13 PM
Symmetryc, on 01 June 2013 - 10:05 PM, said:
Quote
Posted 01 June 2013 - 10:25 PM
theoriginalbit, on 01 June 2013 - 10:13 PM, said:
Symmetryc, on 01 June 2013 - 10:05 PM, said:
Quote
Posted 01 June 2013 - 10:38 PM
Symmetryc, on 01 June 2013 - 10:25 PM, said:
print(string.format("Hello %s this is a number %i, and a quoted string %q", "World!", 124, "haha"))
Posted 01 June 2013 - 10:48 PM
theoriginalbit, on 01 June 2013 - 10:38 PM, said:
Posted 02 June 2013 - 10:40 AM
Posted 02 June 2013 - 11:09 AM
Posted 02 June 2013 - 11:26 AM
GopherAtl, on 02 June 2013 - 11:09 AM, said:
Posted 02 June 2013 - 11:29 AM
Posted 02 June 2013 - 11:37 AM
GopherAtl, on 02 June 2013 - 11:29 AM, said:
0 members, 3 guests, 0 anonymous users