Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged floating-point
0
votes
Q: How to use a decimal range() step value?
Is there a way to step between 0 and 1 by 0.1? I thought I could do it like the following, but it failed: ... , which I did not expect. Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
floating-point
range
0
votes
Q: How can I force division to be floating point? Division keeps rounding down to 0?
I have two integer values a and b, but I need their ratio in floating point. I know that a < b, and I want ... the following? c= a / b Select the correct answer from above options...
asked
Jan 26, 2022
in
Education
by
JackTerrance
floating-point
python-3
python
operator
0
votes
Q: How do I parse a string to a float or int in Python?
How can someone parse a numeric string like "121.5555" to it's corresponding float value 121.5555? or parse a ... str to an int. Select the correct answer from above options...
asked
Jan 21, 2022
in
Education
by
JackTerrance
floating-point
parsing
python
python-faq
To see more, click for the
full list of questions
or
popular tags
.
...