increase precision

This commit is contained in:
Dominik Demuth 2024-05-06 18:52:20 +02:00
parent f0448fac0f
commit ef66cf584a

View File

@ -385,6 +385,6 @@ class ValueModel(QtCore.QAbstractTableModel):
@staticmethod
def as_string(value) -> str:
if isinstance(value, complex):
return f'{value.real:.8g}{value.imag:+.8g}j'
return f'{value.real:.13g}{value.imag:+.13g}j'
else:
return f'{value:.8g}'
return f'{value:.13g}'