floatValue

fun StringValuesBuilder.floatValue(name: String? = null, toFloat: StringToFloat = defaultStringToFloat, toString: FloatToString = defaultFloatToString): ValueSingleDelegateProvider<Float?>(source)

Creates an optional parameter of type Float with the given name in this StringValuesBuilder instance.

If no name is provided, the property's name will be used.

Parameters

toFloat

Method to use when converting from its String form to Float.

toString

Method to use when converting from its Float form to String.