The String option

The issue with the second option is that, if we return a String and then want to do something else with the answer (possibly a further calculation from one of the other modules within the crate), we will need some method of converting the string (after checking it doesn't contain the error code) back to an f32 to pass into the second function.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset