You can try the suggestions I made:
- Receive as a String and print as a String for testing
- When you want to use the received data as a number you have to convert; see comments in my example code "Convert String to… "
I edited some errors in code above…
If you ask me to edit your code in future I will not assist you; this is your project.