problem using Software Serial

The receiving arduino receives the character representation, not the numeric value

you must make a parser that builds up the number one digit at a time.