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
/
ExpConversionDoubletoLongA.vb
1
'Author:
2
' V. Sudharsan (vsudharsan@novell.com)
3
'
4
' (C) 2005 Novell, Inc.
5
6
Module ExpConversionDoubletoLongA
7
Sub Main()
8
Dim a as Double = 123.5
9
Dim b as Long
10
b = CLng(a)
11
if b <> 124
12
Throw new System.Exception("Double to Long Conversion is not working properly. Expected 124 but got " &b)
13
End if
14
End Sub
15
End Module