We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f15400f commit 8dc97c4Copy full SHA for 8dc97c4
mintermatch.cpp
@@ -1,6 +1,5 @@
1
#include "mintermatch.h"
2
3
-
4
String MinterMatch::NormalePip(String bigInt, uint8_t &length)
5
{
6
// const uint8_t length = bigInt.length();
@@ -29,12 +28,7 @@ float MinterMatch::getAmount(String bigInt)
29
28
const String modulo = bigInt.substr(moduloLength);
30
const String integer = bigInt.substr(0, moduloLength);
31
#endif
32
- // const String numFloat = String(integer.operator+=(".").operator+=(modulo.substring(0, PIP_PRECISION)));
33
const String numFloat = integer+"."+modulo;
34
- // numFloat.concat(integer, ",", modulo);
35
- // std::cout<<"numFloat "<< numFloat <<std::endl;
36
const float numF = atof(numFloat.c_str());
37
- // sscanf(numFloat.c_str(), "%f", &numF);
38
- // const float numF = numFloat.toFloat();
39
return numF;
40
}
0 commit comments