FloatSnapWholeNumber

If you need a FloatSpinner, which returns whole numbers (as Floats)

This only works for numbers that Int can hold. Weird that there isn't a Java function which rounds floats, returning a float???

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun snap(input: Float): Float