Format of field

Hi All,

I would ask You is it posible to write this format: for a decimal field #,##0.##### in navision using some function, or maybe in a visual studio report designer. But I need to be with funcion , not hard coded. Are there any rules how can I format field in Nav.

Thanksin Advance

You can use the built in Format function provided by NAV to accomplish this with something like:

format(1432423456.453, 0, ‘<Precision,4:4><1000Character,>’)

Here is a link to the online help with specific details If you need to you can create a function that accepts a decimal and returns a string so that you can call this function directly.