Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8888148
PhutilNumber.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
446 B
Subscribers
None
PhutilNumber.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Thu, Jun 10, 5:02 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
3385886
Default Alt Text
PhutilNumber.php (446 B)
Attached To
rARC Arcanist
Event Timeline
Log In to Comment