dev #297
@ -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