TYPO3 v7 has reached its end-of-life November 30th, 2018 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
There is no further ELTS support. It is recommended that you upgrade your project and use a supported version of TYPO3.
With this property you can round the value up, down or to a certain number of decimals. For each roundType the according PHP function will be used.
The value will be converted to a float value before applying the selected round method.
Round method which should be used.
- ceil: Round the value up to the next integer.
- floor: Round the value down to the previous integer.
- round: Round the value to the specified number of decimals.
Number of decimals the rounded value will have. Only used with the roundType "round". Defaults to 0, so that your input will in that case be rounded up or down to the next integer.
lib.number = TEXT
value = 3.14159
stdWrap.round.roundType = round
stdWrap.round.decimals = 2
This returns 3.14.