lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Keep in mind that Lua uses only a few formats from sprintf; the only
"difficult" to implement is "%.14g", to convert doubles to strings.

The linux vsprintf version didn't handle %f and %g, so I added these masks, using my own dtostr. Not a big work, but vsprintf (even modified) is still on GPL. :( Don't worry, I'll find a way. ;) Thank's anyway !
J. Machado
machado@palmcon.com.br
Palmcon Consultoria (www.palmcon.com.br)
+55 21 9302-2794