Variable inside Text

Hello I am new to Narrat and am experementing with the choice mechanic.
I wanted to put a number (variable) inside a text so I looking in the Demo and I found:
“Buy bread (costs %{$$data.breadPrice})”
however no matter how much I tried, the value will always come up as undefined.
Is there a way to put a variable inside a text?

I’m assuming you are setting your data.breadPrice before hand as follows:

set data.breadPrice 5

Also looks like you have two $. Have you tried with a single one as follows?

"Buy bread (costs %{$data.breadPrice})"