Of course

I have in my tables fields that are numbers (float,double). I want
them two always have two digits after point: For example

Instead of 120    156.4
I want 120.00     156.40
etc

If I enter in form this 120 I want to save in DB and get in the future
120.00
If I enter in form this 156.4 I want to save in DB and get in the
future 156.40

How to get this. In schema.yml/xml or in forms (when I enter number?)

On 11 Lut, 14:15, Bernhard Schussek <[email protected]> wrote:
> Hi Tomasz,
>
> On Wed, Feb 11, 2009 at 2:06 PM, Tomasz Ignatiuk
>
> <[email protected]> wrote:
> > How to get Float,double numbers two digits after point.
> > Somewhere in schema, in forms?
>
> What exactly are you talking about? Could you elaborate your question?
>
> Bernhard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to