Share via


MathPlugin.Add(Int32, Int32) Method

Definition

Returns the addition result of initial and amount values provided.

[Microsoft.SemanticKernel.KernelFunction]
public int Add(int value, int amount);
[<Microsoft.SemanticKernel.KernelFunction>]
member this.Add : int * int -> int
Public Function Add (value As Integer, amount As Integer) As Integer

Parameters

value
Int32

Initial value to which to add the specified amount.

amount
Int32

The amount to add as a string.

Returns

The resulting sum as a string.

Attributes

Applies to