Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112778685
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
Mon, May 12, 23:05
Size
381 B
Mime Type
text/x-php
Expires
Wed, May 14, 23:05 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26130883
Attached To
rPHU libphutil
PhutilNumber.php
View Options
<?php
final
class
PhutilNumber
{
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