반올림하지 않고 그냥 소수점을 버리려면 Int 함수를 쓰면 된다.
'Programming'에 해당되는 글 24건
- 2007/03/19 CInt 함수의 놀라운 기능 발견 (1)
- 2007/03/17 무료 플래시 차트
- 2007/03/10 Useful Links
- 2007/01/30 MegaBBS - A free, fully featured message board!
반올림하지 않고 그냥 소수점을 버리려면 Int 함수를 쓰면 된다.
XML/SWF Charts 4.5 - 다양한 기능 제공
Stic 막대그래프 - 위쯔님이 만든 간단한 막대 그래프
Pizza 파이그래프 - 위쯔님이 만든 파이 그래프
Peter’s Blog - The window.onload problem (still)
CSS Box model - CSS Box model에 대한 W3C 표준 자료
CSS Design:Taming Lists - 리스트 태그 CSS에 대한 자세한 설명
Search Tools for Web Sites and Intranets - 검색엔진에 대한 자세한 설명
Unix systems have had great choices in message forum software for years, but until recently, ASP users have been limited to a small handful of quality ASP message boards. Finally MegaBBS combines the powerful features of PHP boards, along with the ease of programmability and installation of ASP! Although MegaBBS has only been publicly released since late June 2002, it has already gained a great following of other users and developers. Current uses of MegaBBS include corporate intranets, commercial websites, personal use, and universities! It supports MS-Access and SQL Server and can be setup and running in a matter of minutes.



댓글을 달아 주세요
소수에서 정수로 고칠 때 가장 합리적인 방법이 반올림이지요 ^^;;;
2009/02/02 17:44CInt() 뿐만 아니라 CLng()도 그렇고, Visual Basic에서는 Integer형 변수나 Long형 변수에 소수를 집어넣어도 마찬가지의 방법이 나옵니다...
참고로 2.5를 대입하면 2가 됩니다. 그 이유는 Banker's Rounding 기법 때문이라더군요...