Merge remote-tracking branch 'origin/Development' into Development

This commit is contained in:
Adan Rodriguez 2019-02-03 17:39:33 -03:00
commit bf64bc6a2e

View File

@ -16,7 +16,7 @@ public class DecimalToHexadecimal {
int rem; int rem;
String hex = ""; String hex = "";
while(decimal.compareTo(BigInteger.ZERO) > 0) { while (decimal.compareTo(BigInteger.ZERO) > 0) {
rem = decimal.mod(valueHex).intValueExact(); rem = decimal.mod(valueHex).intValueExact();
hex = hexChars[rem] + hex; hex = hexChars[rem] + hex;
decimal = decimal.divide(valueHex); decimal = decimal.divide(valueHex);