I would like to know what exactly to use in my following code:
float v_tax = Convert.ToInt32(ds.Tables.Rows[i]["tax"]);
The 'tax' is a float datatype holding 12.55 as data.
During run time the variable v_tax is having value as 13 instead of 12.55.
Can anyone please guide me.