increase precision
This commit is contained in:
parent
f0448fac0f
commit
ef66cf584a
@ -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}'
|
||||
|
Loading…
Reference in New Issue
Block a user