Share via


MathPlugin.Subtract(Int32, Int32) Method

Definition

Returns the subtraction result of initial and amount values provided.

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

Parameters

value
Int32

Initial value from which to subtract the specified amount.

amount
Int32

The amount to subtract as a string.

Returns

The resulting subtraction as a string.

Attributes

Applies to