For archives:

public function amountNice() {
    if($this->GetAmount()< 0) {
      $suffix = 'DR';
    } else {
      $suffix = 'CR';
    }
    
    $value = abs($this->GetAmount()) . $suffix;
    return $value; 
  }

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to