round(value) function

Rounds the value to up to 2 decimal points.

Signature:

export declare function round(value: number): number;

Parameters

ParameterTypeDescription
valueNumberThe value that needs to be rounded off.

Return type : Number