Convert.ToInt32
float v_tax = Convert.ToSingle(ds.Tables[0].Rows[i]["tax"]);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)