RE: commas in format string

Mike Roth <mroth-J0aWFLYJOWhWk0Htik3J/[email protected]>
Newsgroups gmane.text.rlib.user
Message-ID <1114017627.17794.8.camel@mikeroth>
Al:

Make sure that you are "val" -ing the number (either val or fxpval) in
the field as in:


<field value="fxpval(var,2)" format="'%$.02d'" ... />


Best Regards,

Mike


On Wed, 2005-04-20 at 11:31 -0500, Al Arzaga wrote:
> Mike,
> 
> It doesn't seem to work...  I see no errors.
> 
> I'm using rlib-1.3.2
> 
> 
> -----Original Message-----
> From: Mike Roth [mailto:mroth-J0aWFLYJOWhWk0Htik3J/[email protected]]
> Sent: Wednesday, April 20, 2005 11:04 AM
> To: Al Arzaga
> Cc: RLIB USERS
> Subject: Re: [Rlib-users] commas in format string
> 
> 
> Hi Al:
> 
> To format with commas use the $ (dollar sign) within the % format:
> 
> 		format="'%$.02d'"
> 
> This should turn 12345.67  to 12,345.67
> 
> Best Regards, 
> 
> Mike
> 
> 
> On Wed, 2005-04-20 at 10:52 -0500, Al Arzaga wrote:
> > Is there a way to represent large numbers with commas in every three
> digits?
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: New Crystal Reports XI.
> > Version 11 adds new functionality designed to reduce time involved in
> > creating, integrating, and deploying reporting solutions. Free runtime
> info,
> > new features, or free trial, at: http://www.businessobjects.com/devxi/728
> > _______________________________________________
> > Rlib-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/rlib-users
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. Free runtime info,
> new features, or free trial, at: http://www.businessobjects.com/devxi/728
> _______________________________________________
> Rlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rlib-users



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.