-- redondeo
This commit is contained in:
@@ -715,7 +715,7 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
TCDoc = get_GlobalTipoCambio(TxtFechaDocumento.Text.ToDate().AddMonths(-1).LastDayOfMonth()).ToDecimal();
|
||||
}
|
||||
|
||||
Importe = gvr.FCTextBox("TxtAbonar").Text.ToDecimal();
|
||||
Importe = gvr.FCTextBox("TxtAbonar").Text.ToDecimal().RoundSQL();
|
||||
ImporteMN = Importe;
|
||||
ImporteComplementaria = 0;
|
||||
|
||||
@@ -756,8 +756,8 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
}
|
||||
}
|
||||
|
||||
ImporteMN = Math.Round(ImporteMN, 2, MidpointRounding.AwayFromZero);
|
||||
ImporteComplementaria = Math.Round(ImporteComplementaria, 2, MidpointRounding.AwayFromZero);
|
||||
ImporteMN = ImporteMN.RoundSQL();
|
||||
ImporteComplementaria = ImporteComplementaria.RoundSQL();
|
||||
|
||||
if (tCveMoneda != 1)
|
||||
{
|
||||
@@ -825,7 +825,7 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
}
|
||||
else
|
||||
{
|
||||
ImporteMNBanco = ImporteBanco * TC;
|
||||
ImporteMNBanco = (ImporteBanco * TC).RoundSQL();
|
||||
ImporteComplementaria = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user