Friday, February 25, 2011

Convert string To float

string float_value="234.4567";
//If data come from databse then first convert it into string then this line;
float fl=float.pars(float_value);

1 comment:

sogosuck said...

oh thats a great solution to my problem

thank you pinaki

SQL Optimization

  SQL Optimization  1. Add where on your query  2. If you remove some data after the data return then remove the remove condition in the sel...