Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99051920
PhabricatorDoubleExportField.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
Sat, Jan 18, 18:03
Size
467 B
Mime Type
text/x-php
Expires
Mon, Jan 20, 18:03 (2 d)
Engine
blob
Format
Raw Data
Handle
23697845
Attached To
rPH Phabricator
PhabricatorDoubleExportField.php
View Options
<?php
final
class
PhabricatorDoubleExportField
extends
PhabricatorExportField
{
public
function
getNaturalValue
(
$value
)
{
if
(
$value
===
null
)
{
return
$value
;
}
return
(
double
)
$value
;
}
/**
* @phutil-external-symbol class PHPExcel_Cell_DataType
*/
public
function
formatPHPExcelCell
(
$cell
,
$style
)
{
$cell
->
setDataType
(
PHPExcel_Cell_DataType
::
TYPE_NUMERIC
);
}
public
function
getCharacterWidth
()
{
return
8
;
}
}
Event Timeline
Log In to Comment