Trigonometry.setCosinePrecision()
Sets the precision of the cosine computation by setting the number of decimals you need
Parameters
Name | Type | Description | |
---|---|---|---|
1 | value | integer | an integer between 0 and 8 |
Return value
number
the new precision
Usage
import {Trigonometry} from '@lcluber/type6js';
Trigonometry.setCosinePrecision(2);