price to variable

Hello;

how is change variable to price;

for example;

{include file=“common_templates/price.tpl” value=$product.discounted_price span_id=“discounted_price_$product.product_id”}



this code return 50 $



and i use it;



$xxxx= 50 $



how is return to price variable



xxxx={include file=“common_templates/price.tpl” value=$product.discounted_price span_id=“discounted_price_$product.product_id”}