# What is the unicode for the number i, the imaginary unit of the complex numbers

**URL:** <https://discourse.julialang.org/t/what-is-the-unicode-for-the-number-i-the-imaginary-unit-of-the-complex-numbers/30904>\
**Category:** New to Julia\
**Tags:** unicode, complex-numbers\
**Created:** [November 10, 2019, 12:58am UTC](https://discourse.julialang.org/t/what-is-the-unicode-for-the-number-i-the-imaginary-unit-of-the-complex-numbers/30904 "2019-11-10T00:58:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![StevenSiew](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevensiew/32/218393_2.png) [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Post date:** [November 10, 2019, 12:58am UTC](https://discourse.julialang.org/t/what-is-the-unicode-for-the-number-i-the-imaginary-unit-of-the-complex-numbers/30904/1 "2019-11-10T00:58:03Z")

</div>

Er? How do I type in the imaginary unit in Julia code as an unicode character? Also how do I type it in program Textedit in normal Mac text document?

The number i, the imaginary unit of the complex numbers.

PS: I want to type it in as a single character not “im”

---

<div class="post-metadata">

**Author:** ![joemiller](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@joemiller](https://discourse.julialang.org/u/joemiller)\
**Post date:** [November 10, 2019, 1:10am UTC](https://discourse.julialang.org/t/what-is-the-unicode-for-the-number-i-the-imaginary-unit-of-the-complex-numbers/30904/2 "2019-11-10T01:10:35Z")

</div>

You can use `\iti<tab> = im` for the italic i.

Or just `i = im` if you want the regular one.

---

<div class="post-metadata">

**Author:** ![chakravala](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chakravala/32/6832_2.png) [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Post date:** [November 10, 2019, 1:13am UTC](https://discourse.julialang.org/t/what-is-the-unicode-for-the-number-i-the-imaginary-unit-of-the-complex-numbers/30904/3 "2019-11-10T01:13:04Z")

</div>

Make sure to use `const i=im` for performance reasons.

---

<div class="post-metadata">

**Author:** ![StevenSiew](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevensiew/32/218393_2.png) [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Post date:** [November 10, 2019, 1:33am UTC](https://discourse.julialang.org/t/what-is-the-unicode-for-the-number-i-the-imaginary-unit-of-the-complex-numbers/30904/4 "2019-11-10T01:33:05Z")

</div>

unicode u+1d456 𝑖

on the Mac  
CTRL-COMMAND-SPACE u+1d456 DOWNARROW ENTER
