• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1895
  • Last Modified:

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!
0
michaelzhou23
Asked:
michaelzhou23
  • 3
  • 3
  • 2
  • +1
1 Solution
 
NovaDenizenCommented:
Why use a computer at all?  Just get a piece of paper and write whatever superscript you like next to whatever number you like.
0
 
msm1593Commented:
2074 = 4
2075 = 5
.
.
2079 = 9
0
 
Ray PaseurCommented:
You can write it like this:

10 ** 6

Most people will understand that.

In HTML, you can write 106


Best of luck, ~Ray
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Ray PaseurCommented:

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

Open in new window

0
 
msm1593Commented:
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
0
 
NovaDenizenCommented:
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?
0
 
Ray PaseurCommented:
@NovaDenizen: You left out the TRS-80!

;-)

Ray
0
 
msm1593Commented:
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?
0
 
michaelzhou23Author Commented:
Thanks for the all the help guys!
Yes, msm1593's suggestion was right! That is exactly I am looking for!
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now