cartonn
cartonn

Reputation: 8734

How do I make the mathematical constant e (as in exp(1)) in a textView?

I'd like the textView to show the mathematical constant e. I tried using an italic "e", but that looks different. I looked for an HTML code to represent it, but couldn't find one. So how do I type e into a textView?

Upvotes: 1

Views: 125

Answers (2)

Vikram Gupta
Vikram Gupta

Reputation: 6516

You may want to examine this link: http://www.codetable.net/unicodecharacters?page=1. Well using just "e" is fine actually.

Upvotes: 0

Nick
Nick

Reputation: 9154

According to Wikipedia, there is no HTML code for e. In addition, viewing the source of Wikipedia's Page on e shows that they simply make it slightly larger, italic, and font-family:serif. There's no need for anything else really - its just a recognized constant but still the English letter. If it was actually a latin character you may want to find one, but in this case a simple "e" seems to work fine.

Upvotes: 1

Related Questions