We’ve extended Inspire Early Bird Pricing until March 1. Register now and enjoy 20% off conference passes and 10% off training passes. P.S. Don’t forget to bring friends! When you sign up for five or more tickets, you get an extra 20% discount on conference passes. Learn more now.

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

Support for more decimal digits in JSON response values

wf1
5 - Atom

After deploying a model, I am seeing all numeric values in the JSON response as rounded from their original values to 4 decimal places.

I think the issue is the use of toJSON after running the model, since 4 appears to be the default value for the digits argument. If this is the case, I think digits should be set to NA so that maximum precision is the default and the digits can be set in the model code.

2 REPLIES 2
JohnPo
Alteryx Alumni (Retired)

Hi @wf1,

 

I have good news for you! For Promote 2018.3 the digits have been set to NA. So you should get maximum precision. Also, Promote 2018.3 will be released this week. I'll respond to you here as soon as it is released.

Best,
John Posada
Cloud Engineer
JohnPo
Alteryx Alumni (Retired)

Hi @wf1,

 

2018.3 is available for Promote now. Please let me know if you have any further questions.

Best,
John Posada
Cloud Engineer
Labels