Home > ts-library-template > subtract
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Calculate the difference between two numbers
Signature:
export declare function subtract(a: number, b: number): number;
Parameter | Type | Description |
---|---|---|
a | number | first number |
b | number | second number |
Returns:
number