https://cakephp.lighthouseapp.com/projects/42648/tickets/3676
The answer still is the same:
You got no problem, since `1.11111e+006 === 1111111` (note the "identical" here)
You should also ask yourself if float makes sense here. seems like you are only interesting in the integer.
Why not using it as such then?
Am Mittwoch, 6. März 2013 16:24:02 UTC+1 schrieb kishore reddy:
What I did
my form having some of input boxes.one of them is about salary .iam entered salary as 1111111 and submitted form
What happened
in the database the salary stored as 1.11111e+006
What I expected to happen
how can i store salary as 1111111
and my input box code is
<?php echo $this->Form->input("sales_transaction_avg", array('div'=>false, 'label'=>false, 'type'=>'text', 'class'=>'number','style'=>' width:34% !important'))?> plz suggest solution and explain indetail what is the actul problem
thank Q
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment