getAsFloat

fun getAsFloat(    imgDetails: Map<String, *>?,     key: String?,     defaultValue: Float): Float
fun getAsFloat(number: Any?, defaultValue: Float): Float