Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F12655307
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
Referenced Files
None
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
Fri, Nov 28, 15:02 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1077608
Default Alt Text
PhutilNumber.php (446 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment