天软金融分析.NET函数大全
>
TSL函数
>
数学函数
>
常用数学函数
Pi
复制链接
简述
圆周率,返回3.1415926535897932385
定义
Pi(): Real;
参数
名称
类型
说明
返回
Real
实数,圆周率。
范例
//求面积(π*R^2)
R:=2;
Return pi()*R^2;
//结果:12.5663706143592
相关
Pi
Odd
Abs
Sqr
Sqrt
DivMod
Frexp
Ldexp
Poly
简单函数对数组支持
FAQ/知识库链接
Q:API方式配置mysql连接时,报libmysql.dll or libmysqld.dll系统找不到指定文件的错误
TSSVRAPI工具包说明
Q:天软的居民消费价格(CPI)数据是何时更新的?
Q:TSSVRAPI在LINUX下的使用
Q:天软行情网关TSHQApi接口
Q:indexbrowser包安装时报"TSRTDAPI.dll"加载失败的错
Q:Python交互提示:'pip' 不是内部或外部命令,也不是可运行的程序或批处理文件
Q:打开加密函数后,函数源码显示:raise "Error:compiler can not support compiled function/key not found/secure function body"?
Q:执行加密函数时,报错:“Error:compiler can not support compiled function/key not found/secure function body”?
Q:加密函数解密后,执行报错:“function:xxx compile error or not found”?