JavaScript APIuiNamespacesinputFunctionsfloatOn this pagefloat() float(name, options?): InputBase<number | null> Parameters ParameterTypenamestringoptions?INumberInputInitOptions<number> Returns InputBase<number | null> Source ui.ts:887