Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Memory Conversion

  • 14-08-2001 2:30pm
    #1
    Registered Users, Registered Users 2 Posts: 2,894 ✭✭✭


    I'm looking for a website or freeware tool that can calculate memory sizes ie. .5 gigs = ? megabytes. 4.25 Megabytes = ? bytes etc.


Comments

  • Closed Accounts Posts: 7,563 ✭✭✭leeroybrown


    Website/Program???

    Either you don't know this(below) or you are very lazy!

    Use a calculator.

    I K = 1024 Bytes
    I Meg = 1024 * 1024 Bytes
    1 Gig = 1024 * 1024 * 1024 Bytes


    .5 Gig = 536870912 = 1024 * 1024 * 1024 * 0.5

    4.25 Meg = 4456448 = 1024 * 1024 * 4.25

    I'm sure you get the idea.


    [This message has been edited by leeroybrown (edited 14-08-2001).]


  • Closed Accounts Posts: 2,525 ✭✭✭JustHalf


    And hard disk manufacturers use base-10 references.

    HDD:
    1Kb - 1000 bytes
    1Mb - 1000 Kb
    1Gb - 1000 Mb
    


  • Closed Accounts Posts: 1,651 ✭✭✭Enygma


    Save this as memory.html and open it in IE
    <html>
    <head>
    	<title>Memory Convertor</title>
       
    <script language="JavaScript">
    <!--
    
    function megToKilo()
    {
       var firstNumber  = document.memoryForm.firstNumber.value;
       var result       = firstNumber * 1024;
       document.memoryForm.secondNumber.value = "" + result;   
    }
    
    function kiloToMeg()
    {
       var firstNumber  = document.memoryForm.firstNumber.value;
       var result       = firstNumber / 1024;
       document.memoryForm.secondNumber.value = "" + result; 
    }
    
    //-->
    </script>
    </head>
    
    <body>
    
    <form name="memoryForm">
    <input type="text" name="firstNumber"> -> <input type="text" name="secondNumber"><br />
    <a href="#" onClick="megToKilo()">MegaBytes to KiloBytes</a><br />
    <a href="#" onClick="kiloToMeg()">KiloBytes to MegaBytes</a><br />
    <a href="#" onClick="megToKilo()">MegaBytes to GigaBytes</a><br />
    </form>
    
    </body>
    </html>
    
    


Advertisement