Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

JSON Input Rounding Decimal

bertal34
9 - Comet

Hello,

 

I am using the Input Data tool to input data from a JSON formatted file (see attached zip file).  Configuration has File Format set to JSON (*.json), Parse Value as String is checked, Code Page is Unicode UTF-8

 

My sample json file shows the InitialRate value of 0.01234567891234567

However when I input the data, it comes in as 1.23456789123457e-02

Not only is it showing in scientific notation but it's rounding the last 6 to a 7 and dropping the 7.

 

Is there a way to input this json data and have InitialRate data unchanged?

 

Appreciate any support!

2 REPLIES 2
nagakavyasri
12 - Quasar

Converting the values from scientific Notation would be one solution.

 

https://knowledge.alteryx.com/index/s/article/Converting-Values-from-Scientific-E-Notation-158346017...

 

Screenshot 2024-10-22 125423.png

 

Since 17 decimal digits to the right are only allowed, the last digit is rounding off to 7.

bertal34
9 - Comet

@nagakavyasri   thanks for your reply but that is not going to work.  The requirement is to input the exact decimal number as it is in the json file.  0.01234567891234567

Labels
Top Solution Authors