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

NameType(s)Description
$fieldField
$newTypestring

Specify either 'float' or 'double'

Return value

string

Returns the colum


FieldtypeFloat methods and properties

API reference based on ProcessWire core version 3.0.251