Skip to content

Commit e34fd8e

Browse files
authored
Merge pull request #109 from GlenHertz/patch-2
Add Ohm SI prefixes used in circuit design
2 parents 0913ba2 + 493e546 commit e34fd8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/units.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ end
108108
@add_prefixes C ()
109109
@add_prefixes V (p, n, μ, u, m, k, M, G)
110110
@add_prefixes F ()
111-
@add_prefixes Ω (n, μ, u, m)
112-
@add_prefixes ohm (n, μ, u, m)
111+
@add_prefixes Ω (n, μ, u, m, k, M, G)
112+
@add_prefixes ohm (n, μ, u, m, k, M, G)
113113
@add_prefixes T ()
114114

115115
# SI derived units
@@ -146,7 +146,7 @@ end
146146
F,
147147
)
148148
@doc(
149-
"Resistance in Ohms. Available variant: `nΩ`, `μΩ` (/`uΩ`), `mΩ`. Also available is ASCII `ohm` (with variants `nohm`, `μohm` (/`uohm`), `mohm`).",
149+
"Resistance in Ohms. Available variant: `nΩ`, `μΩ` (/`uΩ`), `mΩ`, `kΩ`, `MΩ`, `GΩ`. Also available is ASCII `ohm` (with variants `nohm`, `μohm` (/`uohm`), `mohm`, `kohm`, `Mohm`, `Gohm`).",
150150
Ω,
151151
)
152152
@doc(

0 commit comments

Comments
 (0)