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

Christian Kuhn lolli at schwarzbu.ch
Thu Apr 9 19:30:51 CEST 2009


Hi,

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

Yes.


>> 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.

Ok, if we decide 1) and 2) are no problem: Here is my +1 on reading and
testing.


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

Very good idea.


Thanks
Christian


More information about the TYPO3-team-core mailing list