Project

General

Profile

Actions

Bug #83859

closed

stdwrap.round is not working

Added by Christian Stern about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2018-02-12
Due date:
% Done:

100%

Estimated time:
1.00 h
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

The following code (https://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Round/Index.html) is not working in TYPO3 8.7.1 and 8.7.10.

page = PAGE
page.1 = TEXT
page.1 {
  value = 3.14159

  stdWrap.round.roundType = round
  stdWrap.round.decimals = 2
}

Output:

3.14159

I tested all available settings: floor, ceil and round

It does work in the latest TYPO3 7.6.

Actions

Also available in: Atom PDF