ts-library-template

Home > ts-library-template > subtract

subtract() function

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;

Parameters

Parameter Type Description
a number first number
b number second number

Returns:

number