Yahoo Clever wird am 4. Mai 2021 (Eastern Time, Zeitzone US-Ostküste) eingestellt. Ab dem 20. April 2021 (Eastern Time) ist die Website von Yahoo Clever nur noch im reinen Lesemodus verfügbar. Andere Yahoo Produkte oder Dienste oder Ihr Yahoo Account sind von diesen Änderungen nicht betroffen. Auf dieser Hilfeseite finden Sie weitere Informationen zur Einstellung von Yahoo Clever und dazu, wie Sie Ihre Daten herunterladen.
C Programming - If float ends in ... do ...?
I'm a beginner in C programming, but I want to know if there is a function that can be used to determine if a float ends in a particular number. In pseudo code it would look something like:
X * Y = Z
IF Z ends in 0.5 {...} ELSE {...}
or
X * Y = Z
IF Z ends in 0.2498 {...} ELSE {...}
I've searched around but I can't find anything. This is probably because I don't know the function's name to find more information about it.
This is C programming, not C++. Thank you!
That's not really what I was looking for, but you gave me an idea that would fix my program!
Thanks so much :D
Beantworten Sie als Erste/r diese Frage.