[Gambas-user] number format

Fabien Bodard gambas.fr at ...626...
Mon Jan 21 13:05:48 CET 2008


simply do val(textbox.text) but you must take care that your system location
is correct

2008/1/21, Jacky <jscops at ...11...>:
>
> Le Monday 21 January 2008 09:39:50 Jacky, vous avez écrit:
> > Le Monday 21 January 2008 06:19:05 gunartha.nyoman, vous avez écrit:
> > > Hi all,
> > >
> > > How to unformat a number in textbox = 12,500,500.50 to a result number
> as
> > > 12500500.50
> >
> > textbox.text = format$(textbox.text, "#########0.#0")
>
>
> textbox.text = format$(val(textbox.text), "#########0.#0")
>
> This will be better.
>
> jacky
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list