2005年1月4日 星期二

asp.net 資料型態

字元變數 char 2Byte 0-65535
字串變數 string x 200萬個雙位元字元
日期變數 data 8Byte 0001/01/01-9999/12/31
布林變數 Boolean 4Byte true/false
短整數 short 2Byte -32.768-+32.767
整數 integer 4Byte -2147483648-+2147483647

長整數 long 8Byte
-9223372036854775808 - +9223372036854775807

單精確度變數 single 4Byte
-3.402823e+38 - -1.401298e-45
+1.401298e-45 - +3.402823e+38

雙精確度變數 double 8Byte
+-1.79769313486231e+308 - +-4.94065645841247e-324

沒有留言:

張貼留言