1997. Class

1997.1. Zend\I18n\Validator\Float

1997.1.1. Methods

1997.1.1.1. __construct

__construct()

Constructor for the integer validator

Parameters:array|Traversable

1997.1.1.2. getLocale

getLocale()

Returns the set locale

Return type:string

1997.1.1.3. setLocale

setLocale()

Sets the locale to use

Parameters:string|null
Return type:Float

1997.1.1.4. isValid

isValid()

Returns true if and only if $value is a floating-point value

Parameters:string
Return type:bool
Throws :ExceptionInvalidArgumentException

1997.1.2. Constants

1997.1.2.1. INVALID

1997.1.2.2. NOT_FLOAT

Project Versions

Table Of Contents

Previous topic

1996. Class

Next topic

1998. Class

This Page