Number

Number

TextField

Methods

Inherited from TextField
Inherited from Element
Inherited from Input
Inherited from InputAttributesTrait
Inherited from Element
Inherited from BasicAttributesTrait

minimum

Define a minimum for this numeric value.

Number::minimum( integer|float $value ): self

Returns Self: This method can be chained.


maximum

Define a maximum for this numeric value.

Number::maximum( integer|float $value ): self

Returns Self: This method can be chained.


decimalPlaces

Define a required number of decimal places (max) for this numeric value.

Number::decimalPlaces( integer $value ): self

Returns Self: This method can be chained.


onlyInteger

Number::onlyInteger( $value )

Last updated : September 15, 2018 b92362d