본문 바로가기

델파이/경험한 작은 팁

소수점 자릿수 편하게 표시하기

lblAbc.Caption := FormatFloat('0.00', aaa - bbb);

이러면 간단하게 0.00 이 모양의 틀에서 숫자가 표시됨.