From 985dfef399576a0db52c158931c3afd273e96842 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Fri, 18 Nov 2022 08:43:09 -0800 Subject: [PATCH] Update docs. --- src/pyutils/math_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyutils/math_utils.py b/src/pyutils/math_utils.py index 8ac6b10..dd8f33a 100644 --- a/src/pyutils/math_utils.py +++ b/src/pyutils/math_utils.py @@ -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 -- 2.45.2