ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
FloatValue.php
Go to the documentation of this file.
1<?php
2
4
6{
7 public function setValue($float)
8 {
9 if (!is_float($float)) {
10 throw new InvalidArgumentException("The value given must be a float! See php-documentation is_float().");
11 }
12
13 parent::setValue($float); // TODO: Change the autogenerated stub
14 }
15}
An exception for terminatinating execution or to throw for unit testing.