[TYPO3-core] RFC: #10861: Eval of double2 doesn't work

Martin Kutschker masi-no at spam-typo3.org
Thu Apr 9 17:44:16 CEST 2009


Christian Kuhn schrieb:
> 
> 1) While current version just cuts to two decimals, number_format()
> rounds. So 0.015 will be 0.01 in old and 0.02 in new version.

Hard to tell which is "correct".

> 2) Space as thousand separator isn't recognized anymore: "1 222.33" was
> "1222.33" before and now leads to "1.00".

Why should it? Float is a numerical format. Usually only monetary values
(in dedicated fields) use separators.

Anyway, all numeric fields in TYPO3 should get JS keystroke handlers
that suppress the entering of unwanted characters.

Masi


More information about the TYPO3-team-core mailing list