Question:

How to Unprotect and Clear the E constant?

Adam: 2 days ago

By default, E is used to represent the Euler's number in Mathematica. I need the variable E to behave just like other undefined variables in my code. When I run the commands

Unprotect[E]
Clear[E]

the variable E remains black, which means it still holds a value. Next, If I run

1.0E

Mathematica gives

2.71828

How can I completely clear this predefined value?

Answer:
Jack: 2 days ago

Unprotect[E]
Remove[E]

E = .5
(*0.5*)

1.0 E
(*0.5*)

On the other hand after removing E

EsceeEsc//N

(*2.71828*)

This works, but it is a very bad idea.

The easiest way to get E back to the proper value is to Quit.