vlatkovski

code1

Nov 6th, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.13 KB | None | 0 0
  1. print( string.format("%03i", 5) ) -- > 005 (3, specified by the "03" in %03i)
  2. print( string.format("%04i", 5) ) -- > 0005 (4 decimals)
Advertisement
Add Comment
Please, Sign In to add comment