[Gambas-user] Currency and addition/subtraction

Les Hardy les at ...2337...
Fri Mar 12 10:11:12 CET 2010


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, ""))





More information about the User mailing list