projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git]
/
mcs
/
mbas
/
Test
/
tests
/
ExpConversionStringtoDecimalA.vb
1
'Author:
2
' V. Sudharsan (vsudharsan@novell.com)
3
'
4
' (C) 2003 Ximian, Inc.
5
6
Module ExpConversionStringtoDecimalA
7
Sub Main()
8
Dim a as Decimal
9
Dim b as String= "123052"
10
a = CDec(b)
11
if a <> 123052
12
Throw new System.Exception("Conversion of String to Decimal not working. Expected 123052 but got " &a)
13
End if
14
End Sub
15
End Module