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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -