Math.sin come out an infinite Value

dynamo

#1


As the image about, you can see that I got angle 90 and angle 0, and I use Math.Sin to calculated the value, but it came out an infinite value. I don’t know what’s going on here.
The same situation when calculate the angle 90 with Math.cos.


#2

Don’t know why Dynamo can’t return sin(180) = 0, but the number it gives you back in pratically “0”. If you need exactly “0” you can do this way


#3

OK,thank you very much.