#include <iostream>#include <cmath>using namespace std; int main() { cout << fmod(0.0251, 0.1) << endl; return 0;}
Standard input is empty
0.0251
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!