mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix some typos
This commit is contained in:
@@ -1826,7 +1826,7 @@ def gnc_numeric_from_decimal(decimal_value):
|
||||
TEN = int(Decimal(0).radix()) # this is always 10
|
||||
numerator_place_value = 1
|
||||
# add each digit to the final value multiplied by the place value
|
||||
# from least significant to most sigificant
|
||||
# from least significant to most significant
|
||||
for i in range(len(digits)-1,-1,-1):
|
||||
numerator += digits[i] * numerator_place_value
|
||||
numerator_place_value *= TEN
|
||||
|
||||
@@ -66,7 +66,7 @@ def gnc_numeric_from_decimal(decimal_value):
|
||||
TEN = int(Decimal(0).radix()) # this is always 10
|
||||
numerator_place_value = 1
|
||||
# add each digit to the final value multiplied by the place value
|
||||
# from least significant to most sigificant
|
||||
# from least significant to most significant
|
||||
for i in range(len(digits)-1,-1,-1):
|
||||
numerator += digits[i] * numerator_place_value
|
||||
numerator_place_value *= TEN
|
||||
|
||||
Reference in New Issue
Block a user