getFloat

fun Context.getFloat(resId: Int, defaultValue: Float = 0.0f): Float
fun Context.getFloat(resId: Int, typedValue: TypedValue): Boolean