Page MenuHomePhorge

PhutilNumber.php
No OneTemporary

PhutilNumber.php

<?php
final class PhutilNumber extends Phobject {
private $value;
private $decimals = 0;
public function __construct($value, $decimals = 0) {
$this->value = $value;
$this->decimals = $decimals;
}
public function getNumber() {
return $this->value;
}
public function setDecimals($decimals) {
$this->decimals = $decimals;
return $this;
}
public function getDecimals() {
return $this->decimals;
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Mar 24, 02:19 (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113677
Default Alt Text
PhutilNumber.php (446 B)

Event Timeline