Trailing zeros in decimal

I get the httpResponse with a decimal field as 1.0000, but when a!fromJson parses the response bode and returns 1. How can I process it? and pass a decimal value to api with the needed number of decimal places? 

  Discussion posts and replies are publicly visible