3 namespace wcf\system\database\table\column
;
6 * Every database table column whose values supports decimals must implement this interface.
8 * @author Matthias Schmidt
9 * @copyright 2001-2019 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
13 interface IDecimalsDatabaseTableColumn
extends ILengthDatabaseTableColumn
16 * Sets the number of decimals the database table column supports or unsets the previously
17 * set value if `null` is passed and returns this column.
21 public function decimals(?
int $decimals): static;
24 * Returns the number of decimals the database table column supports or `null` if the number
25 * of decimals has not be specified.
27 public function getDecimals(): ?
int;