Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95666393
PhutilNumber.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 18, 04:38
Size
446 B
Mime Type
text/x-php
Expires
Fri, Dec 20, 04:38 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23038209
Attached To
rPHU libphutil
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
;
}
}
Event Timeline
Log In to Comment