How to convert decimal value as 3.00 to text value "3.0

jmlozaresjmlozares Member Posts: 110
Gud day everyone!

I have a little problem here...

I want to convert the decimal value say for example 3.00 to a string which should come out as "3.00". I've tried to use the FORMAT function but it didn't work. Is there any pre-defined function that could help me achieve my goal..?

Regards.. :D
Janderol Lozares Jr.
Manila, Phils.

Comments

  • kinekine Member Posts: 12,562
    FORMAT IS the RIGHT way..

    can you post the C/AL code you are using?

    what is your problem with the FORMAT?

    what is not doing or doing wrong?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • mightykidmightykid Member Posts: 23
    you must use <precision> to include the trailing zeros. see help file for more info.

    Regards,

    mightykid
  • sabzamsabzam Member Posts: 1,149
    Can you kindly write down the format as I am not succeeding even though I am following the text file.
Sign In or Register to comment.