Monday, December 12, 2011

Re: Fixture with 'Double' Datatype

as far as I know cake handles all non-integer numeric types as float
internally
same with decimal - unfortunately :)


On 12 Dez., 17:08, flosky <flo.kl...@googlemail.com> wrote:
> Hi everyone,
>
> I have a database table row with the datatype 'double'.
> When I create the Fixture with cake bake it sets the 'type' to float.
> Manually entering 'double' results in an error.
>
> Is there a way to test double values in model test cases??
>
> Using cake 2.0.2 by the way.
>
> Thanks
> -flosky

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate