-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
07-08 Fahrenheit #211
Comments
Try with all numbers floats. 100.0, 32.0, 5.0, 9.0 |
The skect doesn't work. I try a lot of numbers but I don't understand where is the problem. |
did you make the corrections that I wrote?
What is the value of "c" ?
2017-07-03 11:26 GMT+02:00 TKerem <[email protected]>:
… The skect doesn't work. I try a lot of numbers but I don't understand
where is the problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#211 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAuj53-rGzUaAUlyGzZVgQb1-ERzk8vks5sKLO9gaJpZM4OLqhS>
.
--
José María
@itubalibre
http://itubal.github.io/ <http://itubalstyle.blogspot.com>
|
I have the answer here:void draw(){ float tempConverter(float f){ the float values must have decimals so they can be read properly. :) |
Thanks !! |
I can't understand the Exercise 7-8
Please help me to find the solution.
This is my code, but the result is always 0.0
void setup (){
size(200,200);
}
void draw () {
float result = convertToCelsius(100);
println(result);
}
float convertToCelsius(float F){
float c = (F - 32) * (5/9);
return c;
}
The text was updated successfully, but these errors were encountered: