how to get float value in json javaaaa code example
Example: how to get float value in json java
import java.math.BigDecimal;
float mFloat = BigDecimal.valueOf(yourJSONobject.getDouble("double")).floatValue();
import java.math.BigDecimal;
float mFloat = BigDecimal.valueOf(yourJSONobject.getDouble("double")).floatValue();