redondeo
This commit is contained in:
@@ -1633,7 +1633,7 @@ Partial Class ContabilidadC_RegPrePolizaS
|
|||||||
If AplicaComplementaria Then
|
If AplicaComplementaria Then
|
||||||
Dim Importe As Decimal = IIf(TxtCargoE.Text.ToDecimal <> 0, TxtCargoE.Text.ToDecimal, TxtAbonoE.Text.ToDecimal)
|
Dim Importe As Decimal = IIf(TxtCargoE.Text.ToDecimal <> 0, TxtCargoE.Text.ToDecimal, TxtAbonoE.Text.ToDecimal)
|
||||||
'valida Mon Extranjera por el TC - Mon Extranjera
|
'valida Mon Extranjera por el TC - Mon Extranjera
|
||||||
Dim dif As Decimal = ((TxtME.Text.ToDecimal * TxtTipoCambio.Text.ToDecimal) - TxtME.Text.ToDecimal).RoundSQL - Importe
|
Dim dif As Decimal = ((TxtME.Text.ToDecimal * TxtTipoCambio.Text.ToDecimal).RoundSQL - TxtME.Text.ToDecimal).RoundSQL - Importe
|
||||||
|
|
||||||
If dif <> 0 Then
|
If dif <> 0 Then
|
||||||
Alert("El importe moneda extranjera no coinciden con el TC ")
|
Alert("El importe moneda extranjera no coinciden con el TC ")
|
||||||
|
|||||||
Reference in New Issue
Block a user