[Gambas-user] getting date using Val(xx.xx)

Hans-Martin Bundeshund bundeshund at ...467...
Wed Jul 14 19:13:12 CEST 2004


Salute!

I have 2 textboxes where 'user' can insert decimal(2,2)-values. Now I want to 
calculate the multiplication of that 2 values using:

r as integer
r = Val(value1.text) * Val(value.text)

and get a 'wanted integer, got date instead'-error. But gambas would not be 
gambas if there is no option to do that, I guess!

So please lift me from the wire I am standing on.

regards,
HM




More information about the User mailing list