Format number(solved)

i have this number i get from double 3100000000,
i try to format the number to the first 3 digits,like 3.10 but no success until now…
i have try the format like “#.##” or “##.##,##” and more but nothing…
Can anyone give me a tip how is possible to format it?
Thank you

dim s as String dim d as Double = 3100000000 s = left(d.ToText, 1) + "." + mid(d.ToText, 2, 2)

Thank you Axel works perfect…