Round A Double To A Specific Number Of Decimal Places | C Programming Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Fantastic! Helped a lot with a plethora of questions. 👍

Sk-uduy
Автор

Explanations are very clear. Do you have a video about widening & narrowing conversions? I'm a beginner, just found out about this concept. Thanks.

shirini
Автор

I really appreciate you for the value you put in your content, i found the solution i was looking for here thank you alot again

Partridge
Автор

How to let user enter the value and round it to two decimal places. And print the rounder numbers to six decimal places?

JCLimJournal
Автор

How can we do the same but round the number down when it's .5?

ember
Автор

Great playlists thx a lot, wonderful work

reenko
Автор

Thank you for your lesion . please can you help me? I want to round three decimals with the number assigned by a graduator 2 gr, 5 gr, 10 gr, 50 gr, 100 gr. For example, if we have currentReading 1.251 kg and we want the accuracy of 5 gr the total weight must be displayed 1.250 and if we have currentReading 1.253 kg weight must be displayed 1.255 and so on.. Thanks in advance!

cimishpk
Автор

I think this would be an issue for numbers such as 0.005 which should be 0.001 but will turn out to be 0.00. How should one fix this? Thanks in advance.

RuiboZhang-sumy
Автор

I know it's off topic but at minute 0:23 there are 2 parameters in the main function. Should we add them? I'm asking because I've always seen the parentheses empty

liamil
Автор

any body tell me plz apa divide krdee ta ans vch kio andiya ne ...?

foodiepreet