Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
   eZ Publish 4.x / legacy

eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

This field type represents a float value.

NameInternal nameExpected input

Table of contents:


This FieldType stores numeric values which will be provided as floats.

Input expectations




This FieldType validates if the value provided is not lower or higher than the minimum and maximum limits defined in the FieldType settings.


The field definition of this FieldType can be configured with two options:

NameTypeDefault valueDescription
minFloatValuefloatfalseThis setting defines the minimum value this FieldType will allow as input.
maxFloatValuefloatfalseThis setting defines the maximum value this FieldType will allow as input.
Float FieldType example settings

Value object


The Value class of this field type contains the following properties:

$valuefloatThis property will be used to store the value provided as a float.
Value object content example


The Float\Value constructor will initialize a new Value object with the value provided. It expects a numeric value with or without decimals.

Constructor example
  • No labels