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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -