Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F34140353
PhutilNumber.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
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
Tue, Dec 9, 1:17 AM (1 d, 19 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6f/37/0d02c2b43829424fe461701e1145
Attached To
rPHUTIL libphutil
Event Timeline
Log In to Comment