Computer Forums Need math help

 01-02-2009, 11:30 AM #1 Daemon Poster   Join Date: Feb 2008 Posts: 758 Need math help I have a file that is 2,618,793,984 bytes in size. I need to break it into 5 to 7 files broken into MB. How many MB do I need to make each file? I need it to be broken into an even integer. No .#### left over. Can the math guru's help me out plz. If needed you can break it into bytes instead. thx __________________ __________________
 01-02-2009, 08:49 PM #2 Fully Optimized   Join Date: Aug 2008 Posts: 1,744 Re: Need math help You could break it up into 6 files and then you'll have: 436465665 bytes in each file. All I did is: 2,618,793,984 divided by 5 = 436465665 If you convert it to MB though it has a decimal point. __________________ __________________
 01-03-2009, 12:36 AM #3 Guru     Join Date: Jan 2008 Location: U.S. Posts: 7,841 Re: Need math help 1024 bytes in 1 Kilobyte. 1024 Kbytes in 1 Megabyte 2,618,793,984 / 1024 = 2,557,416 2,557,416 / 1024 = 2497.47 Now divide that number by 5, 6, or 7. Depending on how many files you want to break it up into. __________________
 01-03-2009, 12:40 AM #4 Fully Optimized     Join Date: Nov 2007 Posts: 3,952 Re: Need math help go joga go joga __________________ My beast lappy: Acer netbook, 1.6ghz atom dual core, 2gb ddr3 My PSN: Kalikid_420
 01-03-2009, 12:41 AM #5 Guru     Join Date: Jan 2008 Location: U.S. Posts: 7,841 Re: Need math help Dude...math is with me lol. __________________
01-03-2009, 01:16 AM   #6
Fully Optimized

Join Date: Aug 2008
Posts: 1,744
Re: Need math help

Quote:
 Originally Posted by JogaBonito1502 Dude...math is with me lol.
Ha, I failed my Maths exam because I didn't study
__________________

01-03-2009, 01:20 AM   #7
BSOD

Join Date: Dec 2008
Posts: 214
Re: Need math help

Quote:
 Originally Posted by JogaBonito1502 1024 bytes in 1 Megabyte. 2,618,793,984 / 1024 = 2,557,416 Now divide that number by 5, 6, or 7. Depending on how many files you want to break it up into.
epic fail

1024 bytes in a kilobyte, 1024 KB in a MB, 1024 MB in a GB
__________________

 01-03-2009, 01:21 AM #8 Guru     Join Date: Jan 2008 Location: U.S. Posts: 7,841 Re: Need math help Oops...I was short lol. I knew something was wrong. edit: Let me fix. __________________
 01-03-2009, 01:55 AM #9 BSOD   Join Date: Dec 2008 Posts: 214 Re: Need math help the whole bit\byte thing is much like the rest of the imperial system (the system of measures the US uses). There not very practical. 1024 was used for a reason though, tough to explain so ill just write this 2^10 = 1024 there are only two types of data, 1s and 0s, so the system does make some sense __________________
01-03-2009, 02:01 AM   #10
Guru

Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Re: Need math help

Quote:
 Originally Posted by CrazyTiger the whole bit\byte thing is much like the rest of the imperial system (the system of measures the US uses). There not very practical. 1024 was used for a reason though, tough to explain so ill just write this 2^10 = 1024 there are only two types of data, 1s and 0s, so the system does make some sense
Binary. But binary is grouped every 8 numbers. So I'm not so sure where you're getting 2^10 from.
__________________

__________________