I need to do some calculations in VB and display the results of the calculation as a decimal number like 1.62. In my code several variables have the Dim Double and some have the Dim Currency. The result of the calculation is always shown as a scientific number with a exponent e-2 or something like that. How can I change the format of the number in the textbox into a number with just two decimals?
Thanks a lot