失恋副作用

博客园 首页 新随笔 联系 订阅 管理

整型

                                                            值类型

名称                        CTS类型                                说明                                         范围

sbyte                         System.sbyte                       8位有符号的整数                  -128~127

short                         System.Int16                        16位有符号的整数                    -32768~32767

int                             System.Int32                      32位有符号的整数                        -2147483648~2147483647

long                          System.Int64                       64位有符号的整数                      -2^63~2^63-1

byte                          System.Byte                        8位有符号的整数                              0~255

ushort                       System.UInt16                        16位有符号的整数                    0~2^16-1

uint                            System.UInt32                     32位有符号的整数                    0~2^32-1

ulong                              System.UInt64                64位有符号的整数                    0~2^64-1

浮点类型

                                                            值类型

名称                        CTS类型                                说明                                         范围

decimal              System.Decimal             128位高精度十进制数表示法             ±1.0*10e-28至±7.9*10e28

 

posted on 2017-06-07 11:30  失恋副作用  阅读(103)  评论(0编辑  收藏  举报