휴가신청화면의 남은 잔량 게산식 수정,
업무일지 추가시 프로젝트 이름 제대로 보이게 함
This commit is contained in:
@@ -336,14 +336,14 @@ namespace FPJ0000.OtConfirm
|
||||
var perc = 0f;
|
||||
if (val[0] != "0") perc = float.Parse(val[1]) / float.Parse(val[0]);
|
||||
if (richTextBox1.TextLength > 0) richTextBox1.AppendText(",");
|
||||
richTextBox1.AppendText($"[{item.Key}] {val[2]}일 남음({perc:N1}%사용)");
|
||||
richTextBox1.AppendText($"[{item.Key}] {val[2]}일 남음({perc*100:N1}%사용)");
|
||||
}
|
||||
else if (val[5] != "0")
|
||||
{
|
||||
var perc = 0f;
|
||||
if (val[3] != "0") perc = float.Parse(val[4]) / float.Parse(val[3]);
|
||||
if (richTextBox1.TextLength > 0) richTextBox1.AppendText(",");
|
||||
richTextBox1.AppendText($"[{item.Key}] {val[5]}시간 남음({perc:N1}%사용)");
|
||||
richTextBox1.AppendText($"[{item.Key}] {val[5]}시간 남음({perc*100:N1}%사용)");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user