📄 expconversiondecimaltobytea.vb
字号:
'Author:' V. Sudharsan (vsudharsan@novell.com)'' (C) 2005 Novell, Inc.Module ExpConversionDecimaltoByteA Function Main() As Integer Dim i As Boolean = False Try Dim a As Byte Dim b As Decimal = 3000000000 a = CByte(b) Catch e As System.Exception System.Console.WriteLine(" Arithmetic operation resulted in an overflow.") i = True End Try If i = False Then System.Console.WriteLine("Decimal to Byte Conversion is not working properly.") End If End FunctionEnd Module
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -