@microsoft/fast-colors > ColorLCH > roundToPrecision
ColorLCH.roundToPrecision() method
Returns a new ColorLCH rounded to the provided precision
Signature:roundToPrecision(precision: number): ColorLCH;
Parameters
| Parameter | Type | Description |
|---|---|---|
| precision | number | the precision to round to |