問題文
A script divides a byte counter by an interval to report a rate, and the reviewer notices that the reported rate is always a whole number. The rate then has to be compared against a limit that is written with a fraction. Which pair states what the script converts the counters into and how the comparison is written?
選択肢
- The average must keep its fraction, so the script converts those readings to float objects and compares with stated tolerance in that specification.
- The average must keep its fraction, so the script converts those readings to iterator objects and compares with stated tolerance in that specification.
- The average must keep its fraction, so the script converts those readings to float objects and compares with stated equality in that specification.
- The average must keep its fraction, so the script converts those readings to iterator objects and compares with stated equality in that specification.