Decimal Values in schema file

on Tuesday, March 17, 2009

If you are defining your schema.yml and have a field that is a decimal value, you will find you will need to somehow pass through the precision (maximum number of digits to the left of the point) and the scale (total number after the decimal point). The documentation for the syntax of this is quite poor.

For all those that want to know, in symfony 1.0 this is how you would define a decimal:

my_decimal: { type: decimal, size: 8,3 }




2 comments:

Unknown said...

How to disable the session timeout in symfony

Unknown said...

How to diable or extent to 3 hr for session timeout

Post a Comment