Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122192537
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, Jul 16, 12:19
Size
398 B
Mime Type
text/x-php
Expires
Fri, Jul 18, 12:19 (2 d)
Engine
blob
Format
Raw Data
Handle
27447601
Attached To
rPHU libphutil
PhutilNumber.php
View Options
<?php
final
class
PhutilNumber
extends
Phobject
{
private
$value
;
private
$decimals
=
0
;
public
function
__construct
(
$value
)
{
$this
->
value
=
$value
;
}
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