Number-Format

Hi,

I tried to format a value using

"[kmEnde #N#,##0.0] km"

but FR 2.51 prints something like

"1.234.0 km" instead of "1.234,0 km".

As I have a "," set as the decimal seperator, FR simply seems to ignore it. On the other hand, if FR wouldn't be able to deal with non-us-formats, I'd expect something like

"1,234.0 km"

but "1.234.0 km" seems to be a mixture of both...

So - how can I format a string the way I need to? Is it necessary to write a user defined function for FR in order to get properly formatted strings?

Kind regards,

Mark

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:48AM
    you can do several differnt things
    first you can set display format for memo object to number and select separator and number of decimals. the memo could then contain
    [var or field] km
    since memos can contain both variables and static text.
    or build your format string correctly and contain it within ' ' when using the format function.
    regards ;)

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.