Link to home
Start Free TrialLog in
Avatar of michaelzhou23
michaelzhou23

asked on

How to display the notation of 10 to the power of 6 as is (what is the code for the power notation)?

What is the encoding for the power in the power notation? For example, I want to display the notation as 10 to the power of 6.
I discovered I can use the code as "\u00B1", "\u00B2", "\u00B3" for the power of 1, 2 and 3 respectively. However, starting from "\u00B4" it shows other strange special characters.
Do you gurus have any suggestions on this?
Thanks!
Avatar of NovaDenizen
NovaDenizen

Why use a computer at all?  Just get a piece of paper and write whatever superscript you like next to whatever number you like.
ASKER CERTIFIED SOLUTION
Avatar of msm1593
msm1593

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can write it like this:

10 ** 6

Most people will understand that.

In HTML, you can write 106


Best of luck, ~Ray

Arrgh - the editor bolixed again. See the code snippet for the HTML
10<sup>6</sup>

Open in new window

I have never actually seen 10 ** 6 but if i saw it i guess i would assume it was to the power of 6. Another notation that (IMO) is more universal is 10^6
The point I was semi-ironically trying to make is that there is no way we can answer this question unless we know in what context the asker wants to display superscripts.  HTML?  PDF? Microsoft Word?  A text file?  A commodore 64?
@NovaDenizen: You left out the TRS-80!

;-)

Ray
He was already getting the superscript characters 1-3 from unicode, so I thought it was assumed he simply wanted the unicode characters from 4-9; no?
Avatar of michaelzhou23

ASKER

Thanks for the all the help guys!
Yes, msm1593's suggestion was right! That is exactly I am looking for!
Thanks!