Yes that's a pain. I use a string input field and parse the input. Poor UX because the keyboard is for text input but then at least you can enter negative values. But you need to handle parse errors and report them nicely.
And then there is the issue with decimal point/comma depending on locale settings of the device and the selected language in the app