Is it possible to write integers with leading zeros into output files? The
write! function seems to strip the leading zeros.

Ehm, I do not immediately see a method. But since that obviously does not help you, can you help me in understanding what you are trying to achieve? And it is maybe easiest if you do this simply with GNU tools sed, awk and the like.

Maybe a little explanation if you type an integer with leading zeros into FriCAS, then the leading zeroes are nowhere stored in FriCAS, because an integer is (more or less) just a string of bits (0 or 1) with leading digit 1 (except for the number 0). So if you want leading zeros printed (what would be a reason?) you must write a function to do this for you.

Ralf

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/fc6de1fc-6504-01da-dde1-b695cb43d0cb%40hemmecke.org.

Reply via email to