Trigonometry.setCosinePrecision()

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

Parameters

NameTypeDescription
1valueintegeran integer between 0 and 8

Return value

number

the new precision

Usage

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

Trigonometry.setCosinePrecision(2);