Integer g Calculation formula: (X-1) *4+1024*x=y
where X is the value of the integer partition you want to get, the unit is G,y is the number you should enter when you partition, the unit is m,
For example, I want to get 3G integer space under Windows, then I should enter (3-1) *4+1024*3=3080,
When partitioning, then we should enter 3080 as the partition's size,
The equivalent of 10G space should be (10-1) *4+1024*10=10276, input 10276 will get 10G of integer space!
Additional online computing gadgets provided by the cloud-dwelling community webmaster
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//en" > <ptml> <pead> <title> hard disk partition integer g calculation -Online calculation </title> <script> function Doresult () {if (document.form1.num.value== ') {alert (' Please enter a number '); return false; }else {var re=/[^0-9]+/g; if (Re.test (Document.form1.num.value)) {alert (' Please enter a number '); return false; } var thenum=parseint (document.form1.num.value); var theresult= (thenum-1) *4+1024*thenum; document.getElementById (' Theshow '). innertext=theresult.tostring (); } </script> </pead> <body> <form name=form1> <input name=num onkeyup= "This.value=this.val Ue.replace (/[^\d]*/g, ') "onbeforepaste=" Clipboarddata.setdata (' text ', Clipboarddata.getdata (' text '). Replace (/[^ \d]*/g, ') "> <span id=theshow ></span> <button onclick=" Javascript:doresult () "><font color= Red> calculation </font></button> </form> </body> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]