how to get float value in json javaa 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();