large numbers
-
7.25 GB (7,792,175,104 bytes) is what windows says. -797759488 bytes is what findfile .GetLength() says what do i need to do to make it show as 7.25 gb?
-
7.25 GB (7,792,175,104 bytes) is what windows says. -797759488 bytes is what findfile .GetLength() says what do i need to do to make it show as 7.25 gb?
Hi, another option is to divide by 1024 as long as you don't have the format you want. 7,792,175,104 / 1024.0 = 7609546 7609546 / 1024.0 = 7431,197265625 7431,197265625 / 1024.0 = 7,2570285797119140625 and make a Round () or a Trunc () Ehmm, I suppose you have a type missing in your post of findfile.GetLength () 797,759,488 --> 7977594880 / 1024.0 = 7790620 7790620 / 1024.0 = 7608,02734375 7608,02734375 / 1024.0 = 7,429714202880859375 Don't ask me about why the results are different ;) :P
Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
-
Hi, another option is to divide by 1024 as long as you don't have the format you want. 7,792,175,104 / 1024.0 = 7609546 7609546 / 1024.0 = 7431,197265625 7431,197265625 / 1024.0 = 7,2570285797119140625 and make a Round () or a Trunc () Ehmm, I suppose you have a type missing in your post of findfile.GetLength () 797,759,488 --> 7977594880 / 1024.0 = 7790620 7790620 / 1024.0 = 7608,02734375 7608,02734375 / 1024.0 = 7,429714202880859375 Don't ask me about why the results are different ;) :P
Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
-
anything under 2 gb is right but if the file is bigger than that its wrong it shows a 12 gig file as 2.something gb