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?
Nfunction. You can define (afterUnprotectingE), e.g.N[E] = 0, and that would change the result in your example. As a result,Ewill acquire so-calledNValues:NValues[E]will not be empty list. But I'd think twice before doing such hard redefinitions for such a fundamental constant asE, it can have all kinds of unobvious consequences for your Mathematica session / calculations. – Leonid Shifrin May 08 '21 at 20:35E? – Roman May 09 '21 at 09:41E. Check ref/format/CSV in the documentation (Help > Wolfram Documentation, then enter "CSV"). With"Numeric"->False(orAutomatic, I think) you get strings rather than numbers.StringReplacecan then change occurrences of the character E into something else. – Daniel Lichtblau May 09 '21 at 17:43