コード例 #1
0
ファイル: PrintTD.php プロジェクト: armic/erpts
 function formatCurrency3($key)
 {
     if ($this->formArray[$key] == "") {
         return false;
     }
     if (is_numeric($this->formArray[$key])) {
         //edited this code (from 2-3)
         $this->formArray[$key] = number_format(roundToNearestTen($this->formArray[$key]), 2, ".", ",");
     }
 }
コード例 #2
0
 function calculateAssessedValue()
 {
     $this->adjustedMarketValue = un_number_format($this->adjustedMarketValue);
     $this->assessmentLevel = un_number_format($this->assessmentLevel);
     $this->assessedValue = roundToNearestTen($this->adjustedMarketValue * ($this->assessmentLevel / 100));
 }