Howto format (& properly validate) a currency input field?


I have a table with a “decimal” column which I use to store EUR-amounts.

When I create a standard input field using the FormHelper

echo $this->Form->control(‘amount’);

I get a number input field which only accepts integer values. How can I make it to accept currency input amounts including two decimals and set the proper decimal delimiter?