Thursday, May 15, 2014

Grails allow null for double not working

Primitive double type variable itself can neither be null nor be blank(blank:true is for String only). It has nothing to do with Grails. Use java.lang.Double instead:


use 

java.lang.Double days

instead of 

double days


0 comments:

Post a Comment