floatArgument

fun floatArgument(name: String, min: Float = Float.MIN_VALUE, max: Float = Float.MAX_VALUE, suggestion: SuggestionAction<T>? = null, action: ContextAction<T>? = null): UsageBuilder<T>

An argument that takes a float value. You can specify the lowest and highest values.

fun floatArgument(name: String, suggestion: SuggestionAction<T>? = null, action: ContextAction<T>? = null): UsageBuilder<T>

An argument that takes a float value.