这是观点:
<table border="1">
<tr>
@model RentaCarNew.Entities.Bestelling
@{
ViewBag.Title = "Factuur";
}
<th>
€@(Model.RegelPrijs * 0.21 * 1.21)
</th>
<th>
€@(Model.RegelPrijs * 7)
</th>
</tr>
</table>
我在0.21和1.21时收到错误:
operator *不能应用于'decimal'和'double'
类型的操作数