I think it's just because the results are rounded to integers after
each step. Replace
set x 5
by
set x 5.0
will return the correct answer.
With kind regards,
--
Hai-Nam NGUYEN
http://www.jcisio.com
Hello Hamid!
I think the first expression would be correct if $bw1 was expressed in bits,
not octets(8 bits/8=1 Byte, not 8 bits*8=1 byte). But since the packets' sizes
are measured in bytes(octets), i think that 8 is not necessary anymore, the
measuring unit will result in MBps without
Not bytes received - it is always an integer.
x/y should be typecasted to float to get correct answer.
use 4.0, 5.0 as someone else had replied.
Hi,
thanks for your response,
I dont know Exactly but i think bytes recieved is
integer.
Regards
Hamid Regards
--- Sita S. Krishnakumar