Little bug in my timer

I have created timer, which is also my game score. It works perfectly, but when timer shows 54.1 it changes to 54.100000001 and continuos with that xx.x00000000001. It disappears in 66.1 seconds and then it runs normally like 66.2 -> 66.3 ->...
But when timer hits 84.1 it comes again and disappear in 100.1 seconds.
It is very annoying when timer shows for example 56.3000000001, although it should show only 56.3
Can somebody help me??

Here is my code:

1
2
3
4
5
6
_G.points = 0
 
local function a (event)
_G.points = points + 0.1
end
local kello = timer.performWithDelay( 100, a, 0)

Camoon, can somebody help me??

views:1502 update:2011/10/4 8:06:35
corona forums © 2003-2011