2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / mbas / Test / tests / ImpConversionStringtoDoubleA.vb
1 'Author:
2 '   V. Sudharsan (vsudharsan@novell.com)
3 '
4 ' (C) 2003 Ximian, Inc.
5
6 Module ImpConversionStringtoDoubleA
7         Sub Main()
8                         Dim a as Double
9                         Dim b as String= "123.5"
10                         a = b
11                         if a <> 123.5
12                                 Throw new System.Exception("Conversion of String to Double not working. Expected 123.5 but got " &a) 
13                         End if          
14         End Sub
15 End Module