Question about bytes

Discussion in 'Mac Programming' started by MythicFrost, Oct 17, 2009.

  1. macrumors 68040

    MythicFrost

    Joined:
    Mar 11, 2009
    Location:
    Australia
    #1
    Hey, I'm wanting to convert bytes into a megabyte or gigabyte etc..
    I know there are 1024 bytes to a kilobyte, but is there a 1024 kilobytes to a megabyte or is it 1000?

    Kind Regards
     
  2. macrumors P6

    dukebound85

    Joined:
    Jul 17, 2005
    Location:
    5045 feet above sea level
  3. macrumors 6502

    Joined:
    Jul 21, 2009
    #3
    is it for a nerdy person or non-nerdy person?
    the non-nerdy person would say it's 1000kb to a mb
     
  4. thread starter macrumors 68040

    MythicFrost

    Joined:
    Mar 11, 2009
    Location:
    Australia
    #4
    I see thanks,
    I just want accuracy in displaying the size of a file.

    Kind Regards
     
  5. macrumors 6502a

    Joined:
    Jan 15, 2007
    #5
    If you want to go by the guidelines that Apple adopted in SL then a gb is 1000mb is 1000kb is 1000 bytes.
     
  6. macrumors 6502a

    mward333

    Joined:
    Jan 24, 2004
    #6
    Hello!

    If you read the "Unit multiples" section of the following article, you will see that there is a considerable amount of confusion about whether decimal or binary conversion is used. It depends completely on who is doing the conversion:

    http://en.wikipedia.org/wiki/Byte

    This is a well-known source of confusion for many people.
     

Share This Page