Instance Property
double
Returns the real number value of the data, performing conversions where possible.
var double: Double? { get }
Discussion
If the data has INTEGER or TEXT affinity, an attempt is made to interpret the value as a Double. BLOB and NULL values always return nil.