You must be signed in to star a gist
Setup to round parameter value digits to specified number of digits, such as to 3 digits.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|// Replace <value> with value intended to be rounded.|
|round(<value> * 1000) / 1000|