Update docs.
authorScott Gasch <[email protected]>
Fri, 18 Nov 2022 16:43:09 +0000 (08:43 -0800)
committerScott Gasch <[email protected]>
Fri, 18 Nov 2022 16:43:09 +0000 (08:43 -0800)
src/pyutils/math_utils.py

index 8ac6b10a6f9c258d382328959e58496b89cb327e..dd8f33a2e4bf781b658d4ae7266e4a3035412dbb 100644 (file)
@@ -218,6 +218,7 @@ def truncate_float(n: float, decimals: int = 2):
 
     Args:
         n: the float to truncate
+        decimals: how many decimal places are desired?
 
     >>> truncate_float(3.1415927, 3)
     3.141