C Programming Tutorial 61, Math Functions pt.2

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Thank you Adam for you wonderful tutorials.

antoniozimmerman
Автор

Because returning a whole number instead of a decimal is not part of the function. I think you're confused here, a double data type is not limited to decimal numbers; you can store whole numbers is a double variable as well. If you're still skeptical then check out a few reference sites, or perhaps do some code experimenting yourself.

iamacreature
Автор

if math functions return a double, why does floor return an integer(6.00)? and shouldn't it be 6.2 for the highest value less than 6.3 since we're talking double return value here

simransingh
Автор

where is the link for the function plz ?

osamahabdullah
Автор

dear adam
y u no put the link to the webpage?
sincerely,
your student

simransingh
Автор

*is part of the function,

My apologies

iamacreature