(name, pad=None)
| 262 | return fmt |
| 263 | |
| 264 | def get_str(name, pad=None): |
| 265 | if (val := getattr(self, name, None)) is None: |
| 266 | return "<undefined>" |
| 267 | if pad is not None: |
| 268 | s = str(val).ljust(pad) |
| 269 | return str(val) |
| 270 | |
| 271 | precision = get_str("precision", 3) |
| 272 | machep = get_str("machep", 6) |