Number Formating

I obviously am not a VBasic programer.;) I have a temperature sensor that after changing the Ocelot value to the temperature I post that valve to a device. I would like to change the number format from default # of char. to 3 before the decimal and 1 or 2 after. In Pascal it was done by varible:5:2 how is it done in VBasic?

Is there a good source for this information on the web?