dimanche 14 avril 2019

How to retrieve whole value of a decimal field from Mailchimp?

I have created a number field to an audience list.

This problem is using the API below can only get back a number which is rounded to 2 decimal places.

I used GET /lists/{list_id}/members API to get back information of all the members in the specified list.

For more information regarding to the API: https://developer.mailchimp.com/documentation/mailchimp/reference/lists/members/#read-get_lists_list_id_members_subscriber_hash

I would like to get back the original decimal number without rounding.

Anyone knows how to solve this issue?




Aucun commentaire:

Enregistrer un commentaire