You are here

public static function PHPExcel_Shared_Drawing::degreesToAngle in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/Drawing.php \PHPExcel_Shared_Drawing::degreesToAngle()

* Convert degrees to angle * *

Parameters

int $pValue Degrees: * @return int Angle

1 call to PHPExcel_Shared_Drawing::degreesToAngle()
PHPExcel_Writer_Excel2007_Drawing::_writeDrawing in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007/Drawing.php
* Write drawings to XML format * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/Drawing.php, line 154

Class

PHPExcel_Shared_Drawing
PHPExcel_Shared_Drawing

Code

public static function degreesToAngle($pValue = 0) {
  return (int) round($pValue * 60000);
}