Forum

How to write a simp...
 
Share:
Notifications
Clear all

How to write a simple function to add two numbers?

2 Posts
1 Users
0 Likes
243 Views
Deepak Jain
Posts: 36
 Deepak Jain
Guest
Topic starter
(@Deepak Jain)
Eminent Member
Joined: 2 years ago

Consider any two numbers and add. how can I get it in using the function. 

1 Reply
Janani T
Posts: 36
 Janani T
Guest
Topic starter
(@Janani T)
Eminent Member
Joined: 2 years ago

Hi,

You can write a simple function something like below.

 

Create Function AddTwoNumbers

(

@Int1 as Int
@Int2 as Int

)

Return Int

As

Begin

Return (@[email protected])

End

 

let me know in case of any queries. 

Reply

Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share: