I'm trying to make IF condition where I'm trying to print some text when number is 'correct'. The question is what if the condition can't have 'exact number' ? Like when you are finding everything (*) in linux system "find / -name *.mp3".
Here is my code, sure it do not work work for bad syntax but I put it here for example about my question:
#include <iostream>
int main() {
double b = 6.922083e-07;
if (b == 6.922.*e-07) {
printf("LOL \n");
}
}
.* by this I mean everything other which do not matter.
Thank you very much, will be happy as an elephant if you can help me. I'm stupid and I just can't find it on google.