EAGLE Help
Real Constants
A real constant follows the general pattern
[-]int.frac[e|E[±]exp]
which stands for
- optional sign
- decimal integer
- decimal point
- decimal fraction
- e or E and a signed integer exponent
You can omit either the decimal integer or the decimal fraction
(but not both). You can omit either the decimal point or the
letter e or E and the signed integer exponent
(but not both).
The type of an real constant is
real.
Examples
| Constant | Value |
| 23.45e6 | 23.45 x 10^6 |
| .0 | 0.0 |
| 0. | 0.0 |
| 1. | 1.0 |
| -1.23 | -1.23 |
| 2e-5 | 2.0 x 10^-5 |
| 3E+10 | 3.0 x 10^10 |
| .09E34 | 0.09 x 10^34 |
|
Index
|
Copyright © 2003 CadSoft Computer GmbH
|