From: Everton L. B. <ev...@fa...> - 2005-07-19 14:46:58
|
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). >> > > |