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

Steffen Kamper info at sk-typo3.de
Thu Apr 9 19:32:53 CEST 2009


Hi,

Martin Kutschker schrieb:
> 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.
> 

i agree on that. you enter value in form normally without thousand 
operator and without spaces in between.

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

i agree. I will play with extJS validation, which is very easy to 
configure. But not for ths patch ;--)

vg Steffen


More information about the TYPO3-team-core mailing list