Re: How to interrogate optical discs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 15, 2010 at 20:38:56 -0500,
  Richard Shaw <hobbes1069@xxxxxxxxx> wrote:
> 3        iso_size = math.ceil(file_size/(2*1024))*2*1024

With loose typing the about might be doing the division as integer division.
One possible fix would be:
iso_size = ((file_size + ((2*1024)-1))/(2*1024))*(2*1024)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux