📄 impconversiondecimaltoshorta.vb
字号:
'Author:' V. Sudharsan (vsudharsan@novell.com)'' (C) 2005 Novell, Inc.Option Strict OffModule ImpConversionDecimaltoShortA Function Main() As Integer Dim a As Decimal = 123.501 Dim b As Short b = a If b <> 124 Then System.Console.WriteLine("Decimal to Short Conversion is not working properly. Expected 124 but got " & b) : Return 1 End If End FunctionEnd Module
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -