Note, all those integers need to be of type double.
You need to convert the variables to strings, and as decimal places can vary, do a search for any 'padded' zeros added by DoubleToStr.
Code:
double var = 12.3456;
string strvar = DoubleToStr(var,8);
int ndx = StringFind(strvar,"0",0);
if (ndx == -1)
ndx = StringLen(strvar);
Print(StringSubStr(strvar,ndx - 2, 2));
At least that's how I'd do it. If anyone knows another way, let me know!