0
I am looking for a way to create "Masks" for the values of my table in ASP.NET. Currently, I am displaying the values like this:
@model TB_RESUMO_GERAL
List<TB_RESUMO_GERAL> rg = (List<TB_RESUMO_GERAL>)ViewData["relatorioGeral"];
.
.
.
<table class="table table-striped table-bordered">
<tr>
<th>Mês</th>
<th>Val. Esperado</th>
<th>Val. Adquirido</th>
<th>Recebimento Mês</th>
<th>Atraso</th>
<th>Amortização</th>
<th>Selic</th>
<th>Premio selic</th>
<th>Taxa Gestão</th>
<th>Seguro</th>
<th>Despesas</th>
<th>Não identificados</th>
<th>Valor Disponível</th>
<th>Contratos Ativos</th>
</tr>
@foreach (TB_RESUMO_GERAL resumo in rg)
{
<tr>
<td>@resumo.DT_MES_UTILIZACAO</td>
<td><span class="money" /> @resumo.VL_ESPERADO</td>
<td><span class="money" /> @resumo.VL_DISPONIVEL</td>
<td><span class="money" /> @resumo.VL_RECEBIMENTO_MES</td>
<td><span class="money" /> @resumo.VL_ATRASO</td>
<td><span class="money" /> @resumo.VL_AMORTIZACAO</td>
<td><span class="money" /> @resumo.VL_SELIC</td>
<td><span class="money" /> @resumo.VL_PREMIO_SELIC</td>
<td><span class="money" /> @resumo.VL_TAXA_GESTAO</td>
<td><span class="money" /> @resumo.VL_SEGURO</td>
<td><span class="money" /> @resumo.VL_DESPESAS</td>
<td><span class="money" /> @resumo.VL_NAO_IDENTIFICADO</td>
<td><span class="money" /> @resumo.VL_DISPONIVEL</td>
<td><span class="money" /> @resumo.QTD_CONTRATOS_ATIVOS</td>
</tr>
}
</table>
And the figures are coming out like this:
I would like to put points for thousands and commas for cents, in addition to take this time from the date. Ex (R$ 1.245,50) (02/2016).
in your project you have jquery.mask.js
– Bruno H.