I have set the grid's Decimal Precision to 1 but when I am exporting the record in Export to Json it is removing the decimal part for whole numbers. ex. 0.0 converted to 0 , 1.0 to 1 Can you please give me solution for this problem. I dont want to make this attribute as string and then convert it to Decimal.
in JSON numeric precision is not specified and each parser may choose whatever is convenient. If precision is important you should always pass numeric values as strings and convert them to appropriate representation in your client application.
You could try using a microflow to convert your attribute.
To pull this option up, double click the entity in your export mapping (entity on the left side).