Cara Mendapatkan Nilai Float Di Json Java

import java.math.BigDecimal;
float mFloat = BigDecimal.valueOf(yourJSONobject.getDouble("double")).floatValue();
abdullah