Number#

Number holds a number, number in the descriptor. decimals(n) sets how many decimals it keeps and step() the input’s step.

Number::make('weightKg', 'Weight (kg)')->decimals(3)->hideFromIndex(),
A Number field on the product form: an outlined input labelled Weight (kg), holding a weight with three decimals
A Number field on the product form: an outlined input labelled Weight (kg), holding a weight with three decimals

A filterable number takes eq ne lt lte gt gte between in nin (Filter operators). It takes the common modifiers too.