返回 Pi 的值。Save PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLLast UpdatedSep 24, 20241 minute readHMI and SCADASystem PlatformInTouch HMI 2026 在脚本中,可以使用 Pi() 函数在数学计算中使用常量 Pi。Pi() 函数精确到小数点后 7 位。 语法 result = Pi () 示例 Pi() 返回 3.1415927。 In This TopicRelated Links数学计算