Number Format
- Updated2026-03-24
- 1 minute(s) read
Numbers are standard floating point or integer numbers with optional suffixes. Any characters that follow directly, unless they are mathematical operators, are ignored.
Number suffixes:
| Suffix | Meaning | Multiplier |
|---|---|---|
| f, F | femto | 1e-15 |
| p, P | pico | 1e-12 |
| n, N | nano | 1e-9 |
| u, U | micro | 1e-6 |
| m, M | milli | 1e-3 |
| k, K | Kilo | 1e3 |
| meg, MEG | Mega | 1e6 |
| g, G | Giga | 1e9 |
| t, T | Tera | 1e12 |
P in a SPICE netlist means pico, but peta in circuit parameters. Similarly, M means milli in a SPICE netlist, and mega in circuit parameters.
Examples
R1 1 2 10mohm
*the following voltage source has a DC value of 0.00000521
V1 4 0 {0.21e-6+5uV}