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