Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: [Script]Best Fit

From: mauro:fontana:speedautomazione:it at: 22-Jun-2004 14:37

On Mon, 21 Jun 2004 10:42:26 +0100 (BST), Ged Byrne <[gedb01--yahoo--co--uk]> wrote:
> Mauro, > > To convert bytes into kilo bytes you should divide by > 1024 rather than 1000. Its a binary thing.
Hi Ged, thanks for the suggestion. I know the usual IT way is to divide by 1024, but unfortunately both HD, CD and DVD capacities (which are the reason for my script) are calculated in multiple of 1000 bytes, which makes then seem bigger than what one may think. I also think that programs like Nero burning return capacity as multiple of 1000 bytes, so looking at the reported capacity and inserting it as parameter in the script is easier. However it may be possible that the default values I have inserted are wrong. If you have more precise numbers/other media capacity feel free to report them to me so that I can update the script with them.
> Glanced at the source again, and noticed that you have a local > (TRAILS) in RIGHT-ALIGN that isn't used. Just FYI.
Opps, I used it before changing the way the results are showed. Going to remove it. Thanks Mauro