VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



ADDING/SUBTRACTING/MULTIPLYING/DIVISION

by XIV14 (1 Submission)
Category: Math/Dates
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Tue 24th August 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

ADDING/SUBTRACTING/MULTIPLYING/DIVISION

API Declarations


'have fun mathemetically insane student!

Rate ADDING/SUBTRACTING/MULTIPLYING/DIVISION



Function Add(Val As Integer, Val2 As Integer) As Integer
On Error Resume Next
Add = Val + Val2
End Function
Function Subtract(Val As Integer, Val2 As Integer) As Integer
On Error Resume Next
Subtract = Val - Val2
End Function
Function Multiply(Val As Integer, Val2 As Integer) As Integer
On Error Resume Next
Multiply = Val * Val2
End Function
Function Division(Val As Integer, Val2 As Integer) As Integer
Division = Val / Val2
End Function


Download this snippet    Add to My Saved Code

ADDING/SUBTRACTING/MULTIPLYING/DIVISION Comments

No comments have been posted about ADDING/SUBTRACTING/MULTIPLYING/DIVISION. Why not be the first to post a comment about ADDING/SUBTRACTING/MULTIPLYING/DIVISION.

Post your comment

Subject:
Message:
0/1000 characters