float

fun float(key: String, default: Float = 0.0f): Keystone.ObservationBuilder

Declares a Float key to observe.

Return

This builder for chaining.

Parameters

key

The storage key name.

default

Default value if the key is missing. Defaults to 0f.