How get i the correct "rounding"?

This may help:

str;
indx = String.IndexOf(str,”.”);
frmtdStr = String.SubString(str, 0, indx+3);

Untested as I am not at my computer. If you’re still stuck when I get to it in ~30 minutes I’ll post a confirmed fix.