requireFloat

fun Map<*, *>.requireFloat(key: KProperty1<*, *>): Float