Dear Ikarus Users Does anyone know of a Scheme tool for formatting numbers with the following (or similar) abilities: - specify the number of decimal places for decimal notation - specify whether or not to use exponential notation, and the precision if so - or, specify the number of significant figures and "auto-format" in decimal from there
The two SRFIs I found (providing format and cat) don't seem to let you say "Don't use exponential notation" which is a pain if you're processing numbers to be read by another program that only reads decimal notation. I can hack together a function to do whatever I want with a number, but I'm wondering whether this work has already been done... (by "decimal notation" I mean e.g. "-#.#" where "#" is a digit string, and exponential is something like "-#.#E-#", in case this isn't recognized terminology)
