For example, I have vaule "a" = -23 who I want to print as -2.3
I write this code who work good when a > 0, also work in other language string_buf = string.format ( "%1d,%d" ,a //10, math.abs(a) %10)
but when I use only use "//" then I have one more and instead -2.3 see to -3.3
Where is problem?.