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 11:16AM
    FR 5.3.13 - works OK
  • edited 11:16AM
    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 11:16AM
    Did you try:

    FormatStr: %2.4n
  • edited 11:16AM
    Yes, I did.

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

    Brigitte
  • edited 11:16AM
    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 11:16AM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.