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