You could of course format it in the SQL Query. SQL has many string functions. Doing formatting in your SQL query can be more efficient than doing it in
VB. Here is an example of converting a double to string:
SELECT CONVERT(varchar(20), [mynumber]) as mynumber FROM mytable
If you gave us more of an idea of how you are trying to format the double, I could give you a better example.