'
' Author:
' Roopa Wilson (rowilson@novell.com)
-
' Copyright (C) 2004 Novell, Inc (http://www.novell.com)
'
' Permission is hereby granted, free of charge, to any person obtaining
' OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
' WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
'
-
-Imports Microsoft.VisualBasic \r
-Imports System\r
-Public Class TestClass\r
- Public Function Test() As String\r
- 'Begin Code\r
- 'Ommiting optional values FV and Due\r
- Dim d As double = IPmt (10,2,3,7)\r
- If (d <> -69.4736842105263) \r
- Throw New Exception ("#IPmt1")\r
- End If\r
- Return d\r
- 'End Code\r
- End Function\r
+Imports Microsoft.VisualBasic
+Imports System
+Public Class TestClass
+ Public Function Test() As String
+ 'Begin Code
+ 'Ommiting optional values FV and Due
+ Dim d As double = IPmt (10,2,3,7)
+ If (d <> -69.4736842105263)
+ Throw New Exception ("#IPmt1")
+ End If
+ Return d
+ 'End Code
+ End Function
End Class
\ No newline at end of file