decimal mark conversion

txerifftxeriff Member Posts: 500
Hi,

Hope some1 can help.

I´m retrieving the following strings:


"netWeight": 19480.0
"netWeight": 19480.2
And I´d like them to be converted to decimal like : 19480 and 19480,2. When I do evaluate(mydecimalfield,textfield) it does like this: 198400

any ideas?
thanks!

Comments

  • ftorneroftornero Member Posts: 524
    Do that previously:

    "netWeight" := CONVERTSTR("netWeight", '.', ',');
  • txerifftxeriff Member Posts: 500
    ftornero wrote:
    Do that previously:

    "netWeight" := CONVERTSTR("netWeight", '.', ',');

    never used it. very useful function. seems like it´s available from nav 2009

    many thanks
Sign In or Register to comment.