@jomili

I can only refer you to the 4th (fourth) line I wrote in my post.
The code I posted is restricted to non-decimals to illustrate the principle.