Rest BAQ data format

I have a webpage that is pulling a BAQ into a datatable and displaying on the site. The issue is the data is not formatted as I have it set in the BAQ. Should the format set there be the same way the data is in the return from the server? Integer fields are also showing decimals.

You probably need to set it on your application displaying the data. Alternatively, you could make everything a string via calculated fields and then your Json will be consistent

yeah, i could be wrong, but i don’t think odata transmits much in the way of metadata by itself. I think there are ways to bring that in separately but i defer to the experts on that.

OK thanks. Was hoping to take the easy way out. I see there are renderes in the datatables I am using that can format them just need to learn how to use them.