# Is it possible to “escape” numbers so they can be used as a variable name? [closed]

I would like to be able to use numbers in the names of some of my variables, it's simply easier to read that typing TwoPointZero.

Is this possible? Or is there an alternative to being able to define variables in a way where I can simply read a number.

Cheers

EDIT: Is there a way to include numeric like symbols and use them in the names of variables?

• I am not sure I understand. You can use a123. The name must start with a letter, not a number. – Szabolcs Jan 27 '17 at 10:11
• You can also use a[123] or a[2.05] as "variables" in most contexts. Use =. to clear them (not Clear). – Szabolcs Jan 27 '17 at 10:14
• @Szabolcs As ridiculous as this sounds, I actually had no idea that regarding a123. Thanks! Although I feel slightly silly... – Q.P. Jan 27 '17 at 10:23
• You can use p or something to sub in for the decimal point too, e.g. a2p0 – KraZug Jan 27 '17 at 10:24
• @Szabolcs Is it possible to use decimal numbers as a variable name e.g. 0.1pFdata = Import[...] – Q.P. Jan 27 '17 at 10:24

## 1 Answer

YES.

Use Script Numbers like ScriptThree

\[ScriptThree]=4

• You can use \ [GothicThree] and \[DoubleStruckThree] too. – Kelly Lowder Jan 27 '17 at 14:47
• Perfect, nice answer. – Q.P. Jan 31 '17 at 20:02