Formats a float the way Elixir's Float.to_string/1 does, which is how
CASC writes one (CASC.md ยง7): the shortest digits that read back as the
same float, as a plain decimal or with an exponent, whichever is shorter
(the decimal on a tie), always with a fraction -- 1.0, 100.0,
1.0e3, 0.0001, 1.0e-5.
Formats a float the way Elixir's
Float.to_string/1does, which is how CASC writes one (CASC.md ยง7): the shortest digits that read back as the same float, as a plain decimal or with an exponent, whichever is shorter (the decimal on a tie), always with a fraction --1.0,100.0,1.0e3,0.0001,1.0e-5.