Duration not displaying decimal but rounded up automatically

My API data looks like this.

{ "data": [ { "id": 1, "start_date": "2018-01-13", "duration": 2.8, "assign_to": "A", "open": false }, { "id": 2, "start_date": "2018-01-13", "duration": 3.2, "assign_to": "B", "open": false }, { "id": 3, "start_date": "2018-01-13", "duration": 6.2, "assign_to": "C", "open": false }, ] }

but when I load it in my gantt isn’t displaying accurately by decimal instead its rounded up to the nearest number, can anyone tell me where’s the config code to prevent this

event.duration should be integer. There is no ways to set it as a float.

Please don’t repost a question in multiple threads in future.