Format String
Nasir Baig <[email protected]> Fri, 3 Sep 2010 10:34:29 -0500
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <[email protected]> |
--===============3523869333560806203==
Content-Type: multipart/alternative;
boundary="_1bf8a879-0858-4eaa-8cf4-7530a78a9c67_"
--_1bf8a879-0858-4eaa-8cf4-7530a78a9c67_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi There=2C
We had some RLIB scripts running on FreeBSD server which used to generate t=
he PDF reports.=20
I moved all these scripts to new Linux SUSE server.
After moving them we found the issue in format string.
(1) I need string to be formatted=2C such as 12=2C345=2C678.90
<field value=3D"number1" format=3D"'%$.2d'" width=3D"18" align=3D"right"/>
This thing used to work on old FreeBSD server. But on new Linux server it i=
s not formatting anymore. I am getting string such as 12345678.90
(2)I need string needs to be formatted as money string=2C such as $12=2C345=
=2C678.90=20
<field value=3D"number2" format=3D"'!$%n'" align=3D"right" width=3D"15"/>
On new box I am getting 12345678.90 instead of $12=2C345=2C678.90.=20
Please let me know if anyone has any idea.
Thanking you in advance for your help.
Regards=2C
Nasir Baig
=
--_1bf8a879-0858-4eaa-8cf4-7530a78a9c67_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style>
</head>
<body class=3D'hmmessage'>
<br><br>
<meta http-equiv=3D"Content-Type" content=3D"text/html=3B charset=3Dunicode=
">
<meta name=3D"Generator" content=3D"Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px=3B}
.ExternalClass body.ecxhmmessage
{font-size:10pt=3Bfont-family:Taho</style>Hi There=2C<br><br>We had some RL=
IB scripts running on FreeBSD server which used to generate the PDF reports=
. <br><br>I moved all these scripts to new Linux SUSE server.<br><br>After =
moving them we found the issue in format string.<br><br><br>(1) I need stri=
ng to be formatted=2C such as 12=2C345=2C678.90<br><br><u><=3Bfield value=
=3D"number1" format=3D"<font style=3D"font-size: 12pt=3B" color=3D"#c00000"=
size=3D"3"><b>'%$.2d'</b></font>" width=3D"18" align=3D"right"/>=3B</u><=
br><br>This thing used to work on old FreeBSD server. But on new Linux serv=
er it is not formatting anymore. I am getting string such as 12345678.90<br=
><br><br>(2)I need string needs to be formatted as money string=2C such as =
$12=2C345=2C678.90 <br><br><u><=3Bfield value=3D"number2" format=3D"<font=
style=3D"" color=3D"#ff0000"><b><font style=3D"font-size: 12pt=3B" size=3D=
"3">'!$%n'</font></b></font>" align=3D"right" width=3D"15"/>=3B</u><br><b=
r>On new box I am getting 12345678.90 instead of $12=2C345=2C678.90. <br><b=
r><br>Please let me know if anyone has any idea.<br><br>Thanking you in adv=
ance for your help.<br><br>Regards=2C<br><br>Nasir Baig<br> </bo=
dy>
</html>=
--_1bf8a879-0858-4eaa-8cf4-7530a78a9c67_--
--===============3523869333560806203==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
--===============3523869333560806203==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Rlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rlib-users
--===============3523869333560806203==--