You are here

public static function PHPExcel_Shared_Drawing::angleToDegrees 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::angleToDegrees()

* Convert angle to degrees * *

Parameters

int $pValue Angle: * @return int Degrees

1 call to PHPExcel_Shared_Drawing::angleToDegrees()
PHPExcel_Reader_Excel2007::load in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2007.php
* Loads PHPExcel from file * *

File

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

Class

PHPExcel_Shared_Drawing
PHPExcel_Shared_Drawing

Code

public static function angleToDegrees($pValue = 0) {
  if ($pValue != 0) {
    return round($pValue / 60000);
  }
  else {
    return 0;
  }
}