How to use pi in tcl

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi,

 

I need to use value of pi number in the expression below

 

set y [expr $mag*sin($angle*2*pi/360)]

 

Is there any usage of pi number in TCL?

Thanks in advance.

Find more posts tagged with

Sort by:
1 - 3 of 31