using substring inc++

I have a function(double divide)that returns double (a/b) e.g 12/23 =0,52173913
I want to use the result after the decimal(52173913) as string.
From this I want to get the first element(5) and the second element(2)

Last edited on
Topic archived. No new replies allowed.