mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
14 lines
246 B
PHP
14 lines
246 B
PHP
class Complex implements Number {
|
|
private $real = 0;
|
|
private $imaginary = 0;
|
|
|
|
public function __construct() {}
|
|
|
|
public function setReal($real) {
|
|
$this->real = $real;
|
|
}
|
|
|
|
public function setImaginary($imaginary) {
|
|
$this->imaginary = $imaginary;
|
|
}
|
|
} |