Forum Discussion

Szymon's avatar
Szymon
New Contributor II
4 years ago
Solved

[solved] Add decimal zeros to integer for double

Hi, I get as JSON input { "amount" : 1000 } I would like to convert 1000 to 1000.00 { "amount" : 1000.00 } How? I do not want to convert to “1000.00” which toFixed(2) does. thank yo...
  • bojanvelevski's avatar
    bojanvelevski
    4 years ago

    Actually, It will not. I agree with @viktor_n on this one. This is a validation from the pipeline you attached:

    Don’t rely on the preview within the snap, check the actual output after validation.

    Regards,
    Bojan