Skip to content

Commit

Permalink
Merge branch 'feature/506398-FiltrarPorPrecioMaximo' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
“Hector” committed Nov 8, 2024
2 parents 6959e6e + 4f1fc3e commit 7b48e5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,10 @@ public CharSequence filter(CharSequence source, int start, int end, Spanned dest
return source;
}

// Verificar cuántos decimales habría después del punto
// Verificar cuantos decimales habría después del punto
String decimals = resultingText.substring(decimalIndex + 1);
if (decimals.length() > 3) {
return ""; // Bloquear la entrada si excedería 2 decimales
return "";
}

return source;
Expand Down

0 comments on commit 7b48e5e

Please sign in to comment.