Dim x As Double
Dim y,j As Int
Dim z As String
x= 9980.76
Log (x) 'gives 9980,76
y=x '(even though i prefer to convert with other methods than this one)
Log(y) 'gives 9980
z=NumberFormat(x,0,0)
Log(z) 'gives 9.981
j=z.Length
Log(j) 'gives 5 [correct: it'a string and the dot is also calculated]