Skip to content
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

About double year variable #7

Open
diegotco opened this issue Feb 5, 2021 · 2 comments
Open

About double year variable #7

diegotco opened this issue Feb 5, 2021 · 2 comments

Comments

@diegotco
Copy link

diegotco commented Feb 5, 2021

Hello, Angie

Thank you for your course

Why an error occurs when I enter 2,5 years instead of 2.5 years BUT at the same time, 30,500 dollars is ok?

Both variables are "double". Then why I can enter 30,500 dollars but no 2,5 years?

Would be great if you can check my code here at https://repl.it/join/xyryefdd-diegotco

image

Thanks again

@diegotco
Copy link
Author

diegotco commented Feb 5, 2021

Then, when I enter the 2.5 number, everything is ok

image

Very weird

@diegotco
Copy link
Author

diegotco commented Feb 5, 2021

PD: My Mac has an admin pass, so I can't install anything, that's why I use repl.it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant