DEV Community

Cover image for Trivia: The letter "e" is special. 🧙‍♂️

Trivia: The letter "e" is special. 🧙‍♂️

Adam Crockett 🌀 on September 19, 2019

So you think you know all the CSS values and that only numbers are well.. numbers. Well what if I told you that there is one number or should I sa...
Collapse
 
gypsydave5 profile image
David Wickes • Edited

this notation gives a huge number 9 to the power of 9

Not quite. 9e9 is "9 times 10 to the power of 9". It's a way of expressing a number inscientific notation.

Although I'll admit I'm blown-away-surprised that it's accepted in CSS!

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

IL take that correction and edit it and you take the knowledge that you can win an z-index battle (not that anyone should be in that position)

Collapse
 
jamonjamon profile image
Jaimie Carter

I'm confused... Isn't e 2.8ish? As in e the number the constant.....

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Yes it is also that, but it is also this.

Collapse
 
jamonjamon profile image
Jaimie Carter

Oh wow. Ok.