dev (#275)
All checks were successful
Build AppImage / Explore-Gitea-Actions (push) Successful in 1m38s

closes issues #267 #274, #255, #256

Co-authored-by: Dominik Demuth <dominik.demuth@physik.tu-darmstadt.de>
Reviewed-on: #275
This commit was merged in pull request #275.
This commit is contained in:
2024-06-24 15:59:33 +00:00
parent 6ecc789cd5
commit 8f92d8d822
12 changed files with 180 additions and 102 deletions

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}'