For that better use WriteVal that automatically adds commas WriteVal( V, -12.0 )
Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: "sidhartha70" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, August 04, 2008 3:16 PM Subject: [amibroker] Re: StrFormat() > Thanks Tomasz. Any way of getting commas into bigger numbers...? > > --- In [email protected], "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote: >> >> Use >> >> %12.0f >> >> >> Best regards, >> Tomasz Janeczko >> amibroker.com >> ----- Original Message ----- >> From: "sidhartha70" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Monday, August 04, 2008 1:37 PM >> Subject: [amibroker] StrFormat() >> >> >> > Hi All, >> > >> > Playing around with the StrFormat() function... can't quite get >> > numbers to appear as I want/as expected. >> > >> > If I have large numbers, for example Volume figures, how do I get them >> > to appear with commas and no decimal places... >> > >> > I have tried something like %12.0gc as a format and it doesn't work. >> > Any ideas...? >> > >> > Thanks >> > >> > >> > ------------------------------------ >> > >> > Please note that this group is for discussion between users only. >> > >> > To get support from AmiBroker please send an e-mail directly to >> > SUPPORT {at} amibroker.com >> > >> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: >> > http://www.amibroker.com/devlog/ >> > >> > For other support material please check also: >> > http://www.amibroker.com/support.html >> > Yahoo! Groups Links >> > >> > >> > >> > > > > ------------------------------------ > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > Yahoo! Groups Links > > >
