<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://valley.egloos.com/rss/style/style.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>이글루스 'cint' 태그 최근글</title>
		<link>http://valley.egloos.com/tag/cint</link>
		<description>cint</description>
		<language>ko</language>
		<pubDate>Sat, 28 Nov 2009 01:42:31 +0900</pubDate>
		<generator>Egloos</generator>
		<item>
	<title><![CDATA[PHP 무조건 버림함수]]></title>
	<link>http://arthurkim.egloos.com/2107300</link>
	<guid>http://arthurkim.egloos.com/2107300</guid>
	<description>
	<![CDATA[ 
프로그램을 하다보면 꼭 필요한데 만들기 귀찮고 머리쓰기에는 나이가 많고 그렇죠.   그럴때 꼭 필요한 버림함수 입니다.   //2009.11.26 버림함수 function cint($num, $d = 0) {  return sgn($num)*cfloor(abs($num), $d); } function cfloor( $val, $d ) {  return floor($val * pow (10, $d) )/ pow (10, $d) ; } function sgn($x) {  return $x ? ($x&amp;gt;0 ? 1 : -1) : 0; }  echo cint(2.6);  위값이 2로 찍히겠죠. 	]]>
	</description>
	<pubDate>Sat, 28 Nov 2009 01:42:31 +0900</pubDate>
	<dc:creator><![CDATA[Arthur Kim]]></dc:creator>
</item>
	</channel>
</rss>

