<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">


<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=046352711-18012007><FONT face=Arial size=2>Hi 
all,</FONT></SPAN></DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial size=2>In my script I want 
to convert 14105 bytes to kilobytes and and this is what I 
do:</FONT></SPAN></DIV>
<DIV><SPAN class=046352711-18012007></SPAN>&nbsp;</DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial size=2>&gt;&gt;&gt; s = 
14105</FONT></SPAN></DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial size=2>&gt;&gt;&gt; print 
'%0.2f' % (s/1024)<BR>13.00</FONT>&nbsp;</SPAN></DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial size=2>This not correct and 
I don't know why. The answer is 13.77.</FONT></SPAN></DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial size=2>Any pointers please 
that would help my in the right direction?</FONT></SPAN></DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial 
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=046352711-18012007><FONT face=Arial 
size=2>Johan</FONT></SPAN></DIV></BODY></HTML>
<BR>

<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Free Edition.<BR>
Version: 7.5.432 / Virus Database: 268.16.13/632 - Release Date: 2007/01/16 04:36 PM<BR>
</FONT> </P>