toDouble method
Get new DoubleField object with this field value.
Implementation
DoubleField toDouble() {
var result = DoubleField();
result.queryBuilder = () => 'CAST(${buildQuery()} AS REAL)';
result.parametersBuilder = () => getParameters();
return result;
}