[TYPO3-UG Cambodia] Backend(TCA): decimal number
May Dara
dara at gmail.com
Thu Jan 20 04:07:42 CET 2011
Dear TYPO3 Cambodia Group,
In TCA when I configure one textbox:
"type" => "input",
"size" => "7",
"max" => "7",
"checkbox" => "",
"eval" => "double2",
and in the ext_table.sql I put that field:
fieldname decimal(7,2) DEFAULT '0.00' NOT NULL,
In the textbox in BE when I enter:
3 show 3.00
3.5 show 3.50
I don't want like this, I want
3 show 3 (still the same)
2 show 2
2.5 show 2.5 (but they can enter as decimal number)
4.50 show 4.50
So if you have any solution and clue, please tell.
thank you
May Dara,
More information about the TYPO3-UG-Cambodia
mailing list