2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / mbas / Test / tests / ImpConversionSingletoDecimalA.vb
1 'Author:
2 '   V. Sudharsan (vsudharsan@novell.com)
3 '
4 ' (C) 2005 Novell, Inc.
5
6 Module ImpConversionSingletoDecimalA
7         Sub Main()
8                         Dim a as Decimal
9                         Dim b as Single = -4.94065645841247e-100
10                         a = b
11                         if a<>-0 Then
12                                 Throw New System.Exception("Single to Decimal Conversion is not working properly. Expected 0 but got " &a)              
13                 End if          
14         End Sub
15 End Module