float decimal = 2.345324
float dec_points = decimal%1;
hey guys,
I have a small but trivial problem... i have been trying to do the above but i keep getting a error...
"error C2296: '%' : illegal, left operand has type 'float'"
Anyone got a clue?
Thanks guys!