티스토리 뷰
http://www.delphibasics.co.uk/RTL.asp?Name=Trunc
Delphi Basics : Trunc command
Description The Trunc function returns the integer part of a floating point number. It returns this part as an Integer value. Notes The Int function does the same, but returns the integer in a floating point value. Related commands Frac The fractional pa
www.delphibasics.co.uk
begin
  ShowMessage('Round(12.75) = '+IntToStr(Round(12.75)));
  ShowMessage('Trunc(12.75) = '+IntToStr(Trunc(12.75)));
  ShowMessage('  Int(12.75) = '+FloatToStr(Int(12.75)));
  ShowMessage(' Frac(12.75) = '+FloatToStr(Frac(12.75)));
end;
   Round(12.75) = 13
   Trunc(12.75) = 12
     Int(12.75) = 12
   Frac(12.75) = 0.75'VCL' 카테고리의 다른 글
| (i) Trayicon과 VCL Application Event 예제 (0) | 2019.09.06 | 
|---|---|
| (URL) Media Player VLC ActiveX Delphi tutorial (0) | 2019.08.29 | 
| (i) How to use TnrComm component on delphi (0) | 2019.08.20 | 
| (CODE) Playing .WAV files with MediaPlayer. (0) | 2019.07.22 | 
| (i) Delphi - FastReport VCL Pro 설치하기 (0) | 2019.07.02 | 
					댓글
						
					
					
					
				
			
										공지사항
										
								
							
								
								
									최근에 올라온 글
									
							
								
								
									최근에 달린 댓글
									
							
								
								- Total
 
- Today
 
- Yesterday
 
									링크
									
							
								
								
									TAG
									
							
								
								- 스터디카페
 - 솔로원DB복제
 - Grijjy
 - TT쿼리
 - Unable to load project
 - WidevineID
 - 비에이블
 - READ_PRIVILEGED_PHONE_STATE
 - 안드로이드_관리자
 - Could not convert variant of type (Null) into type (OleStr)
 - Delphi
 - 안드로이드관리자
 - Android 64
 - RADStudio11
 - KSNetPOSLib.ocx
 - 비에이블스터디카페
 - FMX
 - SOLO1ASP
 - .dproj
 - 식권발매
 - solomonsystem
 - DelphiZeroMQ
 - delphi push message
 - KSNetPOSLib
 - 앱관리자
 - Firemonkey
 - 솔로몬시스템
 - mysql db 복구
 - push server
 - 키오스크
 
| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 | 
| 9 | 10 | 11 | 12 | 13 | 14 | 15 | 
| 16 | 17 | 18 | 19 | 20 | 21 | 22 | 
| 23 | 24 | 25 | 26 | 27 | 28 | 29 | 
| 30 | 
									글 보관함