[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Specifying output format with save()
From: |
Alberto Luaces |
Subject: |
Specifying output format with save() |
Date: |
Fri, 26 Feb 2016 13:17:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello,
is there any way to specify a desired format (width, decimal places)
when saving variables with save()?
My problem is that I want to read the file at a later stage with
Fortran, and it does not allow that the numbers have different widths,
including spaces.
I read about save_precision(), but it seems that only decimal places can
be specified.
I think I could do what I want with fprintf, but I would like to know if
there is a much more direct solution using save().
Thanks,
--
Alberto
- Specifying output format with save(),
Alberto Luaces <=