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>
11 * @package WoltLabSuite\Core\System\Database\Table\Column
14 interface IDecimalsDatabaseTableColumn
extends ILengthDatabaseTableColumn
17 * Sets the number of decimals the database table column supports or unsets the previously
18 * set value if `null` is passed and returns this column.
22 public function decimals(?
int $decimals): static;
25 * Returns the number of decimals the database table column supports or `null` if the number
26 * of decimals has not be specified.
28 public function getDecimals(): ?
int;