Problem in shell

hi,
can any one tell a solution for the following :

I want to append 10 spaces and a string say "ok" to 12 digit number which is stored in a varialbe & display using shell script.

#! /bin/ksh

typeset -R12 var
var=ok
echo "$digit$var"

$digit contains your 12 digit number.