[ create a new paste ] login | about

Link: http://codepad.org/bcj9cyZR    [ raw code | output | fork ]

nepta - Lua, pasted on Apr 8:
1
2
3
x = 123.456789
s = string.format("%.2f",x)
print(s)


Output:
1
123.46


Create a new paste based on this one


Comments: