не рабочая версия - ввод даты в процессе

This commit is contained in:
Dmitry Borisenko
2022-09-10 02:58:42 +02:00
parent fff7c976a9
commit 8340ae2a0f
11 changed files with 87 additions and 21 deletions

View File

@@ -159,7 +159,8 @@ boolean isDigitStr(const String& str) {
boolean isDigitDotCommaStr(const String& str) {
for (size_t i = 0; i < str.length(); i++) {
char latter = str.charAt(i);
if (!isDigit(latter) && latter != '.' && latter != '-') {
//если символ не цифра и не точка и не тире
if (!isDigit(latter) && latter != '.') {
return false;
}
}
@@ -186,9 +187,9 @@ String uint64ToString(uint64_t input) {
input /= base;
if (c < 10)
c +='0';
c += '0';
else
c += 'A' - 10;
c += 'A' - 10;
result = c + result;
} while (input);
return result;