<?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>Comments on: Rounding floats to ints with bc in bash</title>
	<atom:link href="http://www.alecjacobson.com/weblog/?feed=rss2&#038;p=256" rel="self" type="application/rss+xml" />
	<link>http://www.alecjacobson.com/weblog/?p=256</link>
	<description>In a few words, explain what this blog is about...or else</description>
	<lastBuildDate>Fri, 27 Aug 2010 04:47:07 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ajx</title>
		<link>http://www.alecjacobson.com/weblog/?p=256&#038;cpage=1#comment-615</link>
		<dc:creator>ajx</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.alecjacobson.com/weblog/?p=256#comment-615</guid>
		<description>Cool! It works on my terminal. I added a little &lt;code&gt;\\n&lt;/code&gt; for a new line:
&lt;pre&gt;
&lt;code&gt;
printf %0.f\\n 5.6
&lt;/code&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Cool! It works on my terminal. I added a little <code>\\n</code> for a new line:</p>
<pre>
<code>
printf %0.f\\n 5.6
</code>
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bash script: Redondear número flotante &#124; La plaga Tux</title>
		<link>http://www.alecjacobson.com/weblog/?p=256&#038;cpage=1#comment-614</link>
		<dc:creator>Bash script: Redondear número flotante &#124; La plaga Tux</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.alecjacobson.com/weblog/?p=256#comment-614</guid>
		<description>[...] http://www.alecjacobson.com/weblog/?p=256  GD Star Ratingloading...    Categories: Programación, Scripting, Terminal Tags: awk, bash, bc, echo, float, redondear, Script, Terminal        Comentarios (0) Referencias (0) Dejar un comentario Referencia [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.alecjacobson.com/weblog/?p=256" rel="nofollow">http://www.alecjacobson.com/weblog/?p=256</a>  GD Star Ratingloading&#8230;    Categories: Programación, Scripting, Terminal Tags: awk, bash, bc, echo, float, redondear, Script, Terminal        Comentarios (0) Referencias (0) Dejar un comentario Referencia [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: piponazo</title>
		<link>http://www.alecjacobson.com/weblog/?p=256&#038;cpage=1#comment-613</link>
		<dc:creator>piponazo</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.alecjacobson.com/weblog/?p=256#comment-613</guid>
		<description>Althought in bash scripts you can simply put this:

#!/bin/bash
printf %0.f 5.6

and obtain the closest integer to the especified value. However, if you try to run the printf command from a terminal the number is not recognized (at least with my keyboard configuration)</description>
		<content:encoded><![CDATA[<p>Althought in bash scripts you can simply put this:</p>
<p>#!/bin/bash<br />
printf %0.f 5.6</p>
<p>and obtain the closest integer to the especified value. However, if you try to run the printf command from a terminal the number is not recognized (at least with my keyboard configuration)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: piponazo</title>
		<link>http://www.alecjacobson.com/weblog/?p=256&#038;cpage=1#comment-612</link>
		<dc:creator>piponazo</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:23:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.alecjacobson.com/weblog/?p=256#comment-612</guid>
		<description>The best trick to round float values I&#039;ve ever been ;)</description>
		<content:encoded><![CDATA[<p>The best trick to round float values I&#8217;ve ever been <img src='http://www.alecjacobson.com/weblog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
