Using express, is it possible to return 0.0
(as a number) in response JSON?
What we are observing is, if the value is 0.0
, then Javascript is keeping only 0
and response JSON just has 0
.
We have a consuming system which is implying the data type of the json property based on data and it is wrongly implying the field to be Long instead of Decimal.