<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Комментарии: PHP. Как отбросить дробную часть.</title>
	<atom:link href="http://www.webnotes.com.ua/index.php/archives/724/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webnotes.com.ua/index.php/archives/724</link>
	<description>nice web notes - полезные веб заметки</description>
	<lastBuildDate>Sun, 05 Feb 2012 13:48:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Автор: nice</title>
		<link>http://www.webnotes.com.ua/index.php/archives/724/comment-page-1#comment-2285</link>
		<dc:creator>nice</dc:creator>
		<pubDate>Thu, 07 Apr 2011 20:56:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.webnotes.com.ua/?p=724#comment-2285</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-2280&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-2280&quot; rel=&quot;nofollow&quot;&gt;Big_Shark&lt;/a&gt; :&lt;/strong&gt;
          &lt;div class=&quot;edit-comment&quot; id=&quot;edit-comment2280&quot; style=&quot;background: none&quot;&gt;&lt;p&gt;Может быть number-format лучше использовать?&lt;br &gt;
&lt;/div&gt;   &lt;/blockquote&gt;
Спасибо за подсказку... и действительно &quot;велосипед&quot; не нужен, number_format(1.234, 1); выводит такой же результат 1.2 
+ в результате можно заменить разделитель... number_format(1.234, 1, &#039;,&#039;, &#039; &#039;); то выведет 1,2</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-2280"><p>
<strong><a href="#comment-2280" rel="nofollow">Big_Shark</a> :</strong></p>
<div class="edit-comment" id="edit-comment2280" style="background: none">
<p>Может быть number-format лучше использовать?
</p>
</div>
</blockquote>
<p>Спасибо за подсказку&#8230; и действительно &laquo;велосипед&raquo; не нужен, number_format(1.234, 1); выводит такой же результат 1.2<br />
+ в результате можно заменить разделитель&#8230; number_format(1.234, 1, &#8216;,&#8217;, &#8216; &#8216;); то выведет 1,2</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Big_Shark</title>
		<link>http://www.webnotes.com.ua/index.php/archives/724/comment-page-1#comment-2280</link>
		<dc:creator>Big_Shark</dc:creator>
		<pubDate>Mon, 04 Apr 2011 07:18:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.webnotes.com.ua/?p=724#comment-2280</guid>
		<description>Может быть number-format лучше использовать?
http://php.net/manual/en/function.number-format.php</description>
		<content:encoded><![CDATA[<p>Может быть number-format лучше использовать?<br />
<a href="http://php.net/manual/en/function.number-format.php" rel="nofollow">http://php.net/manual/en/function.number-format.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: nice</title>
		<link>http://www.webnotes.com.ua/index.php/archives/724/comment-page-1#comment-2195</link>
		<dc:creator>nice</dc:creator>
		<pubDate>Tue, 19 Oct 2010 05:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.webnotes.com.ua/?p=724#comment-2195</guid>
		<description>А в php есть parseInt()?</description>
		<content:encoded><![CDATA[<p>А в php есть parseInt()?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: citius</title>
		<link>http://www.webnotes.com.ua/index.php/archives/724/comment-page-1#comment-2194</link>
		<dc:creator>citius</dc:creator>
		<pubDate>Mon, 18 Oct 2010 15:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.webnotes.com.ua/?p=724#comment-2194</guid>
		<description>А как насчет обыного parseInt()?</description>
		<content:encoded><![CDATA[<p>А как насчет обыного parseInt()?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Tony</title>
		<link>http://www.webnotes.com.ua/index.php/archives/724/comment-page-1#comment-2193</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Wed, 13 Oct 2010 19:43:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.webnotes.com.ua/?p=724#comment-2193</guid>
		<description>Большое спасибо! Стащил и прекрасно использую :)</description>
		<content:encoded><![CDATA[<p>Большое спасибо! Стащил и прекрасно использую :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Степан</title>
		<link>http://www.webnotes.com.ua/index.php/archives/724/comment-page-1#comment-2151</link>
		<dc:creator>Степан</dc:creator>
		<pubDate>Tue, 13 Jul 2010 08:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.webnotes.com.ua/?p=724#comment-2151</guid>
		<description>Спасибо за функцию. Лень было писать, утащил к себе ;)</description>
		<content:encoded><![CDATA[<p>Спасибо за функцию. Лень было писать, утащил к себе ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Mark</title>
		<link>http://www.webnotes.com.ua/index.php/archives/724/comment-page-1#comment-1941</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 05 Jan 2010 14:20:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.webnotes.com.ua/?p=724#comment-1941</guid>
		<description>Спасибо! Пригодилось как раз!</description>
		<content:encoded><![CDATA[<p>Спасибо! Пригодилось как раз!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
