> 
> **Possible Duplicate:**  
> 
> [Lua - Format integer](https://stackoverflow.com/questions/10989788/lua-format-integer) 
> 
> 
> 

How can I format an integer number lets say 1000000 in a way that it returns 1.000.000 ? 

Is this managable by using `printf` ? Does someone know how to do it? what's the parameters like?

I'm currently using `Corona SDK` / `Lua` and there is a format function which is similar to `printf`.