Keith Clark wrote: > I have a TableView object and have imported some data into it that is > formatted as currency. How can I know take that and add it to a Float > variable? > > Keith > > > > dim cur as string = "£" dim floatvar as float
floatvar = Val(Replace(TableView1[TableView1.row, 1].Text, cur, "")) ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user