metallurgy.alloy.normal_round(num: float, ndigits: int = 0) float[source]

Rounds a float to the specified number of decimal places.

Parameters:
num : the value to round

ndigits : the number of digits to round to


Last update: Jun 08, 2023