Create a FLOAT data type
OptionalprecisionOrOptions: number | { precision?: number; decimals?: number; unsigned?: boolean }
Either a precision number or an options object
OptionalprecisionPrecision (total number of digits)
OptionaldecimalsNumber of decimal places
OptionalunsignedWhether the value is unsigned
Compare this DataType with another DataType for equality
The DataType to compare with
true if the types are equal, false otherwise
Serialize a value for storage based on this DataType
The value to serialize
The serialized value
Optionaldialect: string
Base class for all data types