The gii generates for mysql Decimal types the rule
array('length', 'max' => 'a number')(according of digits) in the Model
instead of float type that adds
array('merchant_price', 'type', 'type'=>'float'), (I read that in another post - I din't tested it)
In normal way the gii should be generates for decimal type the same thing that float type does
what is the problem ?
Thanks!