RE: Odd math related issue.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Rawlins

    RE: Odd math related issue.

    if you divide two integers, you'll get an integer back (in Python 2.X,
    at least). quick fix:
    >
    percentage = bytes_transferr ed * 100 / total_bytes
    >
    </F>
    Hey </F>

    That worked a charm mate, thanks for the info.

    </R>

Working...