I took a look at the w3schools and they mention so:
Never write a number with a Leading zero (like 07).
Some Javascript versions interpret Numbers as octal if they are Written with a Leading zero.
Its number 000214 is being interpreted as the octal (base 8) of 214.
I would try to pass as octal and convert the number to base 10 on the server or pass as a string and convert the string to decimal on the server.
There is the function octdec php which converts the number from octal to decimal.
octdec("140") //deve retornar o seu número 214 sem os zeros que o precedem
Numbers with zero on the right are the octal notation, vc can remove the zeros directly in javascript and if you need them and the number is fixed you can padde in php.
– rray
If you give more details, I can improve the answer.
– Maniero