Basic programming guide – Remote Processing BASIC for the CX-10 Modbus User Manual

Page 48

Advertising
background image

BASIC PROGRAMMING GUIDE

2-39

PI

Syntax:

PI

Function:

Stored constant 3.1415926

Mode:

Command, run

Use:

PRINT PI

DESCRIPTION

PI is closer to 3.141592653, so proper rounding should be 3.1415927. However, trig errors were greater when
7 was used than 6 for the last digit.

Advertising