pblms formatting numbers

View: New views
2 Messages — Rating Filter:   Alert me  

pblms formatting numbers

by gene1943 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using  gambas 2.99  release 2396
var Page is a textarea
Label3.text = Format$(Len(page.text), "###,###,###")

This results in ,  for 0 length
                       , 7,580  for 7580

Has anyone else got this or am I using it incorrectly

Re: pblms formatting numbers

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I'm using  gambas 2.99  release 2396
> var Page is a textarea
> Label3.text = Format$(Len(page.text), "###,###,###")
>
> This results in ,  for 0 length
>                        , 7,580  for 7580
>
> Has anyone else got this or am I using it incorrectly
>

It might be a bug. As in french the thousand separator is a space, I cannot
see it!

What is the value of your System.Language?

--
Benoît Minisini

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel