getFormatted
Format a number based on its expected length
e.g. "4242424242424242"
with pan length 16
will return "4242 4242 4242 4242"
; "424242"
with pan length 16
will return "4242 42"
; "4242424242424242"
with pan length 14
will return "4242 424242 4242"