floating point formatting

lucluc
edited 1:23PM in FastReport 4.0
Hello,

i have a question regarding floating point formatting.
I have no problems with formatting the folling floating point:

1234.123456 using %4.4f -> i get 1234,1345 (decimal separator=',')

I want to get rid of the following:

1234 -> i get 1234,0000

How can i display 1234 instead of 1234,000 ?

This is not a problem but it looks better....

Comments

  • Anu de DeusAnu de Deus Hampshire, UK
    edited 1:23PM
    Select the memoview object, find the DisplayFormat property, click on it to open the editor, select Number, and put MANUALLY in the Format String you want, or use one of the defaults.
    My favorite is 0.## for most of the cases
  • lucluc
    edited 1:23PM
    Thanks Anu...this works great....

Leave a Comment