I need Help

phondajphondaj Member Posts: 60
Hi I'm new on C/Al programing and i search on forum but:S
wen I export my data to text file the I have amount like this 3,999.30 and i would like to have lakie this 3999.30 can any bady help my


thnx
I know its easy but i can do it I lose to mush time traing some opertunety of FORMAT functions

Comments

  • kinekine Member Posts: 12,562
    You have more ways how to do that:

    1) Use the Format field on the DataItem field
    2) Use some commands to remove ',' in OnAfterFormatField trigger on the DataItem field

    btw_: the format string for this is standard format 1 or 2....

    Quote from online help for FORMAT command:
    Decimal Format Example
    0 <Sign><Integer Thousand><Decimals> -76,543.21
    1 <Sign><Integer><Decimals> -76543.21
    2 <Sign><Integer><Decimals> -76543.21
    3 <Integer Thousand><Decimals><Sign,1> 76,543.21-
    4 <Integer><Decimals><Sign,1> 76543.21-
    9 XML format -76543.21
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.