Share and Money Management 0.18devel
|
Mathematical functions. More...
Functions | |
def | gcd (a, b) |
Return greatest common divisor using Euclid's Algorithm. More... | |
def | round_and_remove_exponent (value) |
Round to 4 decimal places and use non-exponential notation. More... | |
Mathematical functions.
def smm.math.gcd | ( | a, | |
b | |||
) |
Return greatest common divisor using Euclid's Algorithm.
Referenced by tests.test_math.TestMath.test_gcd().
def smm.math.round_and_remove_exponent | ( | value | ) |
Round to 4 decimal places and use non-exponential notation.
Referenced by smm.quote.fetchQuote(), and tests.test_math.TestMath.test_round_and_remove_exponent().