Announcement

Collapse

IMPORTANT!!! Moving (Back) to Mailing Lists

The forum site WILL BE DECOMMISSIONED by end of October. We are moving back to using mailing lists for user community, this time based on groups.io technology. More information available on https://imagecraft.com/get-news-and-updates
See more
See less

...scanf() missing floats

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ...scanf() missing floats

    I tried to use a scanf function to load a float and it of course failed. Checked the doc's and, sure enough, no %f or %lf. The math lib has an atof function
    ( typed as double but only appears to return a float); how about adding it to the scanf family?

  • #2
    The code will make the library VERY large, so it's best for the user to just call atof themselves.

    Comment

    Working...
    X