guys,
is there a variable that is able to hold the value in between
120TB - 0TB to the precision of bytes .....
That is to display 120 TeraByte in Byte ...... Is there a variable (number) that can hold up to that figure?
:confused:
Printable View
guys,
is there a variable that is able to hold the value in between
120TB - 0TB to the precision of bytes .....
That is to display 120 TeraByte in Byte ...... Is there a variable (number) that can hold up to that figure?
:confused:
hmm i think you mean you want a variable type that can hold the number 131941395333120?
try currency.
1024*1024*1024*1024*120 = 131941395333120
Whats double will that work i cant remember :)
Quote:
MSDN
Data type Storage size Range
Byte 1 byte 0 to 255
Boolean 2 bytes True or False
Integer 2 bytes -32,768 to 32,767
Long 4 bytes -2,147,483,648 to 2,147,483,647
Single 4 bytes -3.402823E38 to -1.401298E-45 for negative values; 1.401298E-45 to 3.402823E38 for positive values
Double 8 bytes -1.79769313486231E308 to -4.94065645841247E-324 for negative values; 4.94065645841247E-324 to 1.79769313486232E308 for positive values
Currency 8 bytes -922,337,203,685,477.5808 to 922,337,203,685,477.5807
Decimal 14 bytes +/-79,228,162,514,264,337,593,543,950,335 with no decimal point; +/-7.9228162514264337593543950335 with 28 places to the right of the decimal; smallest non-zero number is +/-0.0000000000000000000000000001
Date 8 bytes January 1, 100 to December 31, 9999
Wow, a boolean takes up more space than a byte!
Cool , and pretty thank to all of you ...
Currency is the basket ball ..... I choose currency ... Thanks:bigyello:
Just recall .. Thanks peet for listing themm....
;)