= 0 && $row_selectPercComplbyProject['percComplete'] <= 1) { $formatted = ($row_selectPercComplbyProject['percComplete'] * 100) . '%'; }