Vales that represent money must always be rounded to how many decimal places?
If the answer provided is inappropriate or does not answer this question properly, you will be reported. However, if the answer is related to this question, you are all good :)
Answers
Answered by
1
All floating point values that can represent a currency amount (in dollars and cents) can not be stored exactly as it is in the memory. So if we want to store 0.1 dollar (10 cents) and it can also represent money that can be rounded :).
For Eg - When rounded to 24 bits
this becomes
this becomese = −4; s = 110011001100110011001101, which is actually 0.100000001490116119384765625 in decimal.
So These values are rounded to their amounts in dollars and cents or other currency units on input and output.
HOPE IT HELPS :)
Answered by
0
Answer:
Step-by-step explanation:
Dollar 4.55.
Similar questions
Social Sciences,
3 hours ago
Social Sciences,
3 hours ago
Math,
3 hours ago
English,
5 hours ago
Math,
5 hours ago
Physics,
8 months ago