RadhaKrishnaKiJaya
asked on
Get the absolute value in razor view.
Hi Experts,
I have this code in razor view.
<div>@item.PriceAdjustment@T("% off")</div>
How do I get the absolute value of @item.PriceAdjustment? If
@item.PriceAdjustment is -ve # I want the +ve value.
Thanks in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.