🐐 Small fix
This commit is contained in:
@@ -169,7 +169,7 @@ def frac_to_fraction(s, magnvm=False, svbnvlla=False):
|
||||
def fraction_to_frac(f, magnvm=False, svbnvlla=False):
|
||||
if f < 0:
|
||||
if not svbnvlla:
|
||||
raise CentvrionError("Cannot display negative fractions without 'SVBNVLLA' module")
|
||||
raise CentvrionError("Cannot display negative numbers without 'SVBNVLLA' module")
|
||||
return "-" + fraction_to_frac(-f, magnvm, svbnvlla)
|
||||
|
||||
integer_part = int(f)
|
||||
|
||||
Reference in New Issue
Block a user