mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-30 22:23:42 +00:00
Add typing and snake casing to maths/decimal_isolate.py (#7066)
This commit is contained in:
parent
7ad6c64029
commit
9b0909d654
|
@ -4,7 +4,7 @@ https://stackoverflow.com/questions/3886402/how-to-get-numbers-after-decimal-poi
|
|||
"""
|
||||
|
||||
|
||||
def decimal_isolate(number, digit_amount):
|
||||
def decimal_isolate(number: float, digit_amount: int) -> float:
|
||||
|
||||
"""
|
||||
Isolates the decimal part of a number.
|
||||
|
|
Loading…
Reference in New Issue
Block a user