[PD] how to get big numbers from array into a file?
Christof Ressi
info at christofressi.com
Fri May 7 16:33:11 CEST 2021
If your numbers are integers, you can convert them to symbols with
[makefilename %d] and add them to a text file, e.g. with [text set].
If the numbers are floats, you can use [makefilename %f]. Unlike %g, the
%f specifier prevents the use of scientific notation. See also
https://stackoverflow.com/a/5913115/6063908.
Works for me (tm).
Christof
On 07.05.2021 16:15, rolfm at dds.nl wrote:
>
> hi,
>
> i'm struggling with the way Pd handles numbers bigger then 999999.
>
> i have an array with thousands of numbers, which i write to a file to
> analyse them.
>
> however, as soon as a number is bigger then 999999 i get the
> abbreviated notation and am loosing the lower digits.
>
>
> in Pd i can make a big number showing all digits by transforming it
> into a symbol, e.g. with makefilename.
>
> but a thus created text-file does not work in a spreadsheet.
>
>
> probably there's a way to overcome this seemingly limitation, but i've
> not found it yet.
>
> anybody with a hint?
>
>
> rolf
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210507/68be7f9b/attachment.htm>
More information about the Pd-list
mailing list