Convert Number to Latex

Is there a way to get a latex from a number?

If you simply wrap the number (or variable) in ` `, it will interpret it as LaTeX. What is the use case?

There is only one problem, for some reason when I type it like this, it says:
Unexpected token " ’ "
Here is the use case:

value = graph1.number("c")
valueString = numericValue('value')

Oops, I see I put the wrong character " ’ " instead of " ` "