<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/18205" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2010-12-22T07:00:49-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/18205</id>

		<entry>
		<author><name><![CDATA[tueb]]></name></author>
		<updated>2010-12-22T07:00:10-04:00</updated>

		<published>2010-12-22T07:00:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95444#p95444</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95444#p95444"/>
		<title type="html"><![CDATA[trim number [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95444#p95444"><![CDATA[
thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9349">tueb</a> — Wed Dec 22, 2010 7:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2010-12-22T06:58:04-04:00</updated>

		<published>2010-12-22T06:58:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95443#p95443</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95443#p95443"/>
		<title type="html"><![CDATA[Re: trim number]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95443#p95443"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set dur [format %.3f [expr {([clock clicks -milliseconds] - $timeasked) * 0.001}]]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Wed Dec 22, 2010 6:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tueb]]></name></author>
		<updated>2010-12-22T07:00:49-04:00</updated>

		<published>2010-12-22T06:03:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95442#p95442</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95442#p95442"/>
		<title type="html"><![CDATA[trim number [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95442#p95442"><![CDATA[
Hi,<br><br>I calculate a duration by milliseconds by using:<br><br>"set dur [expr ([clock clicks -milliseconds] - $timeasked) * 0.001]"<br><br>that usually gives me a time like "64.409".<br><br>But on some networks (i.e. quakenet) i get times like "64.408999999999999".<br><br>How do i trim the number to three decimals?<br><br><br>thanks in advance,<br><br>tueb<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9349">tueb</a> — Wed Dec 22, 2010 6:03 am</p><hr />
]]></content>
	</entry>
	</feed>
