totalnewbie
04-03-2006, 06:13 PM
hi guys
i have two very simple problems here!
first of all, when im doing a calculation and storing it in an array, how do i go about rounding the number off to sat, 2 decimal places? can anyone also show me how to calculate powers?
and another thing. when i output this calculation in a text box the info comes out correctly. however, when i want the calculation to come out in a combo box, the data in the box dissapears when i use the combo box. below is the snippet of code for my combo box. any help is appreciated. thanks
this.car_txt.text = rs.getItemAt(i).Name
i have two very simple problems here!
first of all, when im doing a calculation and storing it in an array, how do i go about rounding the number off to sat, 2 decimal places? can anyone also show me how to calculate powers?
and another thing. when i output this calculation in a text box the info comes out correctly. however, when i want the calculation to come out in a combo box, the data in the box dissapears when i use the combo box. below is the snippet of code for my combo box. any help is appreciated. thanks
this.car_txt.text = rs.getItemAt(i).Name