Re: margins definition with LC_NUMERIC=pt_BR

Everton Luis Berz <[email protected]> Tue, 19 Jul 2005 11:45:26 -0300
Newsgroups gmane.text.rlib.user
Organization Faccat
Message-ID <[email protected]>
Example:

XML:
<field value="format(12345,'!$ %n')"/>
<literal width="3"/>
<field value="format(9876.54,'!# %.2f')"/>
<literal width="3"/>
<field value="format(123.45,'!$ %n')"/>
<literal width="3"/>

RLIB results:
12.345,00 R$        9876,00      123,00 R$

Results expected:
12.345,00 R$        9876,54      123,45 R$

-- 
Everton


Bob Doan escreveu:
> I don't understand what you want exactly.
> 
> Can you make a simple example using pt_BR with RLIB results and results
> you are expecting.
> 
> - Bob
> 
> On Fri, 2005-07-15 at 17:29 -0300, Everton Luis Berz wrote:
> 
>>Margins still not works.
>>
>>I am testing the numeric format for my locale, see results:
>>
>>XML:
>><field value="format(12345,'!$ %n')"/>
>><literal width="3"/>
>><field value="format(9876.54,'!# %.2f')"/>
>><literal width="3"/>
>><field value="format(123.45,'!$ %n')"/>
>><literal width="3"/>
>>
>>PDF - using rlib_set_locale($rlib, "pt_BR");
>>12.345,00 R$        9876,00      123,00 R$
>>
>>PDF - using rlib_set_locale($rlib, "en_US");
>>$12,345.00       9876.54       $123.45
>>
>>
>>Decimal places at pt_BR dont works.
>>I think the margins problem is the same (because rlib
>>dont understand pt_BR decimal places).
>>
> 
> 




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click