.. include:: ../../Includes.txt .. _fields-float: Float ===== .. figure:: ../../Images/FieldTypes/Float.svg :alt: Float :class: float-left :width: 64px An input field for floats. .. rst-class:: clear-both .. code-block:: php 'type' => 'input', 'eval' => 'double2' .. figure:: ../../Images/FieldTypes/FloatPreview.png :alt: Float field :class: with-border Float field Available TCA options --------------------- * :ref:`config.default ` * :ref:`config.placeholder ` * :ref:`config.size ` * :ref:`config.eval.required ` * :ref:`config.max ` * :ref:`config.range.lower ` * :ref:`config.range.upper ` * :ref:`config.slider.step ` * :ref:`config.slider.width ` * :ref:`l10n_mode ` * :ref:`config.behaviour.allowLanguageSynchronization ` * :ref:`config.eval.null ` * :ref:`config.mode ` * :ref:`config.autocomplete ` See a complete overview of Float TCA options in the :ref:`official documentation `.