String imgName;
for (byte i = 0; i < arrayImages.size(); i++) {
imgName = arrayImages.get(i).getOriginalFilename().toLowerCase();
if (imgName.isBlank())
removeSlide(i);
continue;
}
if (imgName.matches(".*s-[1-4]\\..*")) {
continue;
}
imgName = setCorrectName(imgName, i);
if (imgName == null) {
continue;
}
// что-то делаем
}
print "500: ", floor(summ/500), "\n";
summ = summ % 500;
print "100: ", floor(summ/100), "\n";
summ = summ % 100;
print "50: ", floor(summ/50), "\n";
summ = summ % 50;
print "10: ", floor(summ/10), "\n";
summ = summ % 10;
print "5: ", floor(summ/5), "\n";
summ = summ % 5;
print "2: ", floor(summ/2), "\n";
summ = summ % 2;
print "1: ", summ, "\n";