#include<iostream> #include<cmath> using namespace std; int main() { double a=123.234; double b; cout<<modf(a,&b)<<endl; return 0; }