double roundFraction (double d1, int precision)
double roundFraction (double d1, int precision)
d1
to the precision of precision
places.Name | Type | Description |
---|---|---|
d1 | double | The number to round. |
precision | int | Length of precision. |
Type | Description |
---|---|
double | The result. |