Why $#{@balance}


#1

What does the symbol "$" mean?


#2

It is just a dollar sign :smile:

So $#{@balance} will display "$1000"


#3

Actually,

"$#{@balance}"

will display,

$1000

#4

I kept pondering back and forth about the dollar sign, turns out it literally is just the dollar sign. Thank you Javablaster22526 for the question and nbven for the help!