Login
Sign Up
Home
Program
Project
My Zone
Support
Show Code
Browse Program
Search Program
Bandwidth Converter
Input Variables
Output Variables
Program Code
Description
Variable Name *
(dynamic type)
*
!
UP
Down
Delete
Default Value *
*
Description *
*
Multi Lines
Variable Name *
(string type)
*
!
UP
Down
Delete
Available Values *
byte kilobyte [KB] megabyte [MB] gigabyte [GB]
*
Default Value *
*
Description *
*
Variable Name *
(dynamic type)
*
UP
Down
Delete
Description *
*
Variable Name *
(dynamic type)
*
UP
Down
Delete
Description *
*
Variable Name *
(dynamic type)
*
UP
Down
Delete
Description *
*
Variable Name *
(dynamic type)
*
UP
Down
Delete
Description *
*
Input Variables List
Output Variables List
Source Code
b=0; k=0; m=0; g=0; switch (Unit) { case "byte": b=input; k=b/1024.0; m=k/1024.0; g=m/1024.0; break; case "kilobyte [KB]": b=input*1024; k=input; m=k/1024.0; g=m/1024.0; break; case "megabyte [MB]": b=input*1024*1024; k=input*1024; m=input; g=m/1024.0; break; case "gigabyte [GB]": b=input*1024*1024*1024; k=input*1024*1024; m=input*1024; g=input; break; }
Subject
Description
Calculate or Convert data from one data type [byte, KB/ MB/ GB] to other [gigabyte, megabyte, byte, bits]. This is simple and easy online calculator or converter. Data conversion will take place automatically.
Category
Mathematics
Created By
tech
Created Date
12/21/2010
Last Modify Date
12/21/2010
Calculation Count
36
Version
1.00
Positive
0
Neutral
0
Negative
0
Related Program ID
106 , 107 , 108 , 109 , 110
Copyright ©2009-2010 CUI WEI. All Rights Reserved.