C
C#5w ago
KleinRiese

✅ cos(90) = 6.... ???

I want c# to calculate the value of sin(90), but it outputs a number, wich is bigger, than 1. How?
No description
5 Replies
KleinRiese
KleinRieseOP5w ago
Math.Pi / 180 turns the degree into a radian
ero
ero5w ago
the value is 6.1...66E-17 that value is nowhere near 1
KleinRiese
KleinRieseOP5w ago
but every cos/sin value should be between 1 and -1, shouldnt it?
ero
ero5w ago
and that value is the E-17 notation means *10^-17
KleinRiese
KleinRieseOP5w ago
ohhhhhh thank you so much
Want results from more Discord servers?
Add your server