Here's the piece of example code...

MyVar=263

var1 = MyVar DIG 2 (var1 contains the 2)
var2 = MyVar DIG 1 (var2 contains the 6)
var3 = MyVar DIG 0 (var3 contains the 3)

And as a bonus here's the hint - See PBP manual 4.17.7 use of DIG function.

Melanie