Display Format 2,5990

Hi,

I want to format a number 2,5990 with always 4 decimal numbers with %2.4f but get the result 2,599.

For 3,60 with %2.2f I get the expected result: 3,60.

Is this a bug?

Brigitte

Comments

  • gpigpi
    edited 10:52PM
    FR 5.3.13 - works OK
  • edited 10:52PM
    It dosn't work.

    I'm using 5.3.13

    DecimalSeparator: ,
    FormatStr: %2.4f
    Kind: fkNumeric
    ThousandSeparator:
    ExpressionDelimiters: [,]

    With 2,6090 I get 2,609 in the Report.

    Please help!

    Brigitte
  • edited 10:52PM
    Did you try:

    FormatStr: %2.4n
  • edited 10:52PM
    Yes, I did.

    Same wrong result: 2,609 not 2,6090 what I want.

    Brigitte
  • edited 10:52PM
    Brigitte wrote: »
    ...
    Same wrong result: 2,609 not 2,6090 what I want.
    ...

    It seems immposible [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Have a look at the small example I attached ...[/img]
  • edited 10:52PM
    I found the mistake I did.

    In onafterdata event I set the fields .text property to <Data.'price'>

    This doesn't work.

Leave a Comment