I am using KiX version 4.20 RC1 - however this occurs since version 4.11.

I want to return a number that has been formatted to 0 decimal places...

The following code ....
code:
? FormatNumber(1234567, 0, 0, False, -2)
? FormatNumber(1234, 0, 0, False, -2)
? FormatNumber(1, 0, 0, False, -2)

returns
quote:
1,234,567
1,234
1

Which is what I would expect...

However...

code:
? FormatNumber(0, 0, 0, False, -2)

returns an empty string.

I had hoped that FormatNumber would have returned "0".

Lee