[Gambas-user] Difrent usage from Val() in 2.x and 3.x?
Gregor Burck
gregor at ...2441...
Thu Oct 18 12:07:49 CEST 2012
Hi,
> Use it with only digits.
OK, but how I could handle this:
I overtook GamKuWa http://www.fishing-penguins.de/gamkuwa.html) for my use
In the project , there are often Formated TextBoxValues like "0,00 €". Later the Value Is use to calculate.
So the author took Val to generate the Value of the TextBoxText. As I write in gambas2 has it work.
How should I handle that better? I could give up the formated TextboxText, or do some like this?:
Val(Replace(txt_Netto_erm_Rechnung.Text, " €", ""))
to get the Value?
Bye
Gregor
--
More information about the User
mailing list