I have for this table:
    value:
      type: float()
      fixed: false
      unsigned: false
      primary: false
      notnull: true
      autoincrement: false

In the data I have .4123, but when called / displayed in symfony, I
only see .41.  With sql call (or phpmyadmin), I see .4123.  I'm not
doing any formatting myself currently when displaying in symfony.

On Dec 14, 5:04 pm, Alexandre Salomé <[email protected]>
wrote:
> Hi,
>
>   Which value do you have in your database ? (PHPMyAdmin or SQL client)
>
>   What is the type of column defined in your schema ?
>
> 2009/12/13 PhiKapJames <[email protected]>
>
>
>
> > I'm running into the issue where when I'm trying to use the default
> > getValue() method that was automatically generated from a model, that
> > it's not giving the correct place value.  I have for examply .4123 in
> > my database, but it is only displaying .41.  When i look at the query
> > log, it's not doing anything special to format the number.  How can I
> > get the correct full value of .4123?
>
> > --
>
> > 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]<symfony-users%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en.
>
> --
> Alexandre Saloméhttp://alexandre-salome.fr

--

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