---
title: "Feature: #75827 - Add configuration options to \\TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FloatConverter"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-75827"
source: "Changelog/8.1/Feature-75827-AddConfigurationOptionsToFloatConverter.rst"
typo3-version: "8.1"
typo3-major: 8
type: "feature"
issue: 75827
forge: "https://forge.typo3.org/issues/75827"
tags: ["PHP-API", "ext:extbase"]
rendered: "2026-09-17T12:41:04+00:00"
---

# Feature: #75827 - Add configuration options to \\TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FloatConverter {#feature-75827-add-configuration-options-to-typo3-cms-extbase-property-typeconverter-floatconverter}

See [forge#75827](https://forge.typo3.org/issues/75827)

## Description {#description}

It is now possible to define the thousands separator and decimal point for `FloatConverter`.
This can be used to ensure proper sanitation before converting a string to a float.

You can define the configuration for every property like this:

```php
$this->arguments['<argumentName>']
   ->getPropertyMappingConfiguration()
   ->forProperty('<propertyName>') // this line can be skipped in order to specify the format for all properties
   ->setTypeConverterOption(
      \TYPO3\CMS\Extbase\Property\TypeConverter\FloatConverter::class,
      \TYPO3\CMS\Extbase\Property\TypeConverter\FloatConverter::CONFIGURATION_THOUSANDS_SEPARATOR,
      '.'
   )
   ->setTypeConverterOption(
      \TYPO3\CMS\Extbase\Property\TypeConverter\FloatConverter::class,
      \TYPO3\CMS\Extbase\Property\TypeConverter\FloatConverter::CONFIGURATION_DECIMAL_POINT,
      ','
   );
```
