mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix various typos
Found via `codespell`
This commit is contained in:
@@ -1818,7 +1818,7 @@ def gnc_numeric_from_decimal(decimal_value):
|
||||
sign, digits, exponent = decimal_value.as_tuple()
|
||||
|
||||
# convert decimal digits to a fractional numerator
|
||||
# equivlent to
|
||||
# equivalent to
|
||||
# numerator = int(''.join(digits))
|
||||
# but without the wated conversion to string and back,
|
||||
# this is probably the same algorithm int() uses
|
||||
|
||||
@@ -58,7 +58,7 @@ def gnc_numeric_from_decimal(decimal_value):
|
||||
sign, digits, exponent = decimal_value.as_tuple()
|
||||
|
||||
# convert decimal digits to a fractional numerator
|
||||
# equivlent to
|
||||
# equivalent to
|
||||
# numerator = int(''.join(digits))
|
||||
# but without the wated conversion to string and back,
|
||||
# this is probably the same algorithm int() uses
|
||||
|
||||
Reference in New Issue
Block a user