Forum

How to write a simp...
 
Notifications
Clear all

How to write a simple function to add two numbers?


Deepak Jain
Posts: 36
 Deepak Jain
Topic starter
(@Deepak Jain)
Joined: 1 year ago

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

1 Reply
Deepak Jain
Posts: 36
 Deepak Jain
Topic starter
(@Deepak Jain)
Joined: 1 year 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
Share: