Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Does VB.Net have a construct for Zettabyte

Posted on 2011-03-08
6
365 Views
Last Modified: 2012-05-11
Does VB.Net have a construct for Zettabyte? It overflows a Long


Dim sizeofZettabyte As Long = 1180591620717411303424

Open in new window

0
Comment
Question by:ruffone
  • 3
  • 2
6 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 35071089
Not to my knowledge, but you could create a struct consisting of several longs and implement the appropriate functions to make the struct more "natural" in its use.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 35071134
Actually, it might be a bit more involved than that. The IDE might not even let you put the number in as a literal--you might have to load it as a string  : (
0
 
LVL 23

Accepted Solution

by:
wdosanjos earned 500 total points
ID: 35071168
Try the Decimal data type:

Dim sizeofZettabyte As Decimal = 1180591620717411303424D

http://msdn.microsoft.com/en-us/library/xtba3z33%28VS.80%29.aspx
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 35071319
Haha...  Silly me. I forgot about the size of Decimal!

Good call wdosanjos   = )
0
 
LVL 4

Author Comment

by:ruffone
ID: 35071429
Thanks guys.
How might I create a Type Zettabyte so that I may do a DirectCast or a CType or something on the type

Thanks
0
 
LVL 4

Author Closing Comment

by:ruffone
ID: 35071693
Thanks wdosanjos
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question