I need to know how to find a decimal in a number. In VB, it's possible to convert using str$ and finding the decimal in the string version...how is this fone in c++
thanks for help!
For example, take 6.2357. You went to get 0.2357, correct?
This will do it:

float num = 6.2357;

float decimal = num  (int)num;

cout << decimal << endl; // outputs "0.2357"
