Set currency format to rub
This commit is contained in:
parent
f6232219fe
commit
3f6a044a38
@ -1,5 +1,6 @@
|
||||
@model IQueryable<MyDarling.Models.UnderwearBundle>;
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@using System.Globalization;
|
||||
|
||||
@{
|
||||
Layout = "_Layout";
|
||||
@ -69,7 +70,7 @@
|
||||
<div class="card-body p-4">
|
||||
<div class="text-center">
|
||||
<h5 class="fw-bolder">@bundle.Name</h5>
|
||||
@bundle.Price.ToString("c0")
|
||||
@String.Format(new CultureInfo("ru-RU"), "{0:C0}", @bundle.Price)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user