• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
0

Sin(Pi) != 0 ?

Whenever I do Math.Sin(Math.PI) it returns a number that is extremely small but not 0. Any solutions besides just straight up rounding?

c#csmath.pimath.sin
27th Feb 2020, 6:17 PM
Pie
Pie - avatar
1 Antwort
+ 3
https://stackoverflow.com/questions/18646477
27th Feb 2020, 6:31 PM
Aymane Boukrouh
Aymane Boukrouh - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Hi help me I am new
2 Votes
My codebits section is full of deleted codes
12 Votes
Why are there like 10 community-made lessons?
0 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Why so many mathematical questions in challenges?
0 Votes
Where did mess up....
1 Votes
Where can I learn c#
0 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Feedback on my portfolio
0 Votes
best language if i want to learn about AI
0 Votes