The obvious answer is multiply by 100000 and you get an integer.
Since this is not rocket science, I guess you want something else but didn't explain what.
Since extracting the fractional part of a value has usually no meaning without the integer part, I guess it is part of something bigger.
There is heaps of methods to transform a fractional part to an integer, but if we don't know why, we can't tell what method to use.
Remember that we are not in your head and untold obvious things are obvious only to you, not us.
[edit]
there is no CPU instruction to do what you want because it simply have no meaning.
You can't have an exact conversion because you think with a fractional value in base 10 and the CPU know the value in base 2. This mean rounding in any case.
Quote:
for example, on my machine 999999999.99999905 * 10000000000000000000 would lead to the last 5 changed to 4 and so on
because of what I said above.
There is no solution to this exazct problem, the way you ask it.