Maybe I'm missing something guys, but the number is *already* a double, it's the display that's a bit of a problem.

I'm pretty sure that this has come up before, so you can search for a solution, but here is a quick 'n' dirty way of doing it:
 Code:
Break ON
 
$i=1.0
for $t=1 to 10
	$i=$i/10
	TrimZero(FormatNumber($i,10)) @CRLF
next
 
Function TrimZero($s)
	While(Len($s)>1 AND Right($S,1)="0" AND Right($s,2)<>".0")
		$s=Left($s,-1)
	Loop
	$TrimZero=$s
EndFunction