In reply to Jinjin.

That should not happen when simulating a continuous variable. The program that I included with this article has the statement
x = round(x);
because I wanted to round cholesterol to an integer value. Delete that statement, unless your variable in also integer valued. If you still encounter problems, post your code to the SAS/IML Support Community.