Trigonometry.setSinePrecision()

Sets the precision of the sine computation by setting the number of decimals you need

Parameters

NameTypeDescription
1valueintegeran integer between 0 and 8

Return value

integer

the new precision

Usage

import {Trigonometry} from '@lcluber/type6js';

Trigonometry.setSinePrecision(2);