asp.net mvc - multiply model values on html -


i use asp.net-mvc, entity framework. view below:

 <td class="center">    <span id="spanitem_@item.urunid">@item.fiyat</span>    <input type="text" id="textfiyat_@item.urunid" value="" class="displaynone textwidth90"/>  </td>  <td class="center">       <span id="spanitem_@item.urunid">@item.adet</span>        <input type="text" id="textadet_@item.urunid" value="" class="displaynone textwidth90"/> </td> <td class="center">     <span id="spanitem_@item.urunid">       @item.fiyat)*@item.adet     </span> </td> 

fiyat field decimal, adet field int. want show multiplying. can not. how can achieve this. thanks...

have tried @(item.fiyat * item.adet)


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -