another way is to make your datatype to string then add this in the formula
substring-after(concat("x", 100000 + 123), "x1")
this results to:
100000+123 = 100123
x100123
00123
i use 'x' only as a marker
happy programming :)