Type 'number or string' in API fields

Hi !

I created a rollup field I want to access via the API. Aggregation formula is AVERAGE(values)*1.20
values are integer.
Custom json decoder (written in Elm) fail at parsing this field. I checked the api documentation and field’s type is number or string. I expect it to be a number since it’s formatted as an integer and all input values are also integer.

What does it mean ? How to coerce the type to be only a number ? I tried to consume the aggregated value in another field formula but it inherits this number or string type.

Thanks for your help!

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.