FieldtypeFloat::setColumnType()
Set the database data column type (updating the DB table)
Available since version 3.0.241.
Usage
$string = $fieldtypeFloat->setColumnType(Field $field, string $newType);Arguments
| Name | Type(s) | Description |
|---|---|---|
$field | Field | |
$newType | string | Specify either 'float' or 'double' |
Return value
stringReturns the colum
FieldtypeFloat methods and properties
API reference based on ProcessWire core version 3.0.252