A number input in Shiny adds something like this to the web page:
<input type="number">
And the interpretation of dots and commas in numbers depends on the browser and locale.
This article discusses the issue. It sounds like the behavior varies a lot between different browsers:
If you really need it to accept a decimal commas on all browsers, you may want to use a textInput and convert to a number in R with something like this:
as.numeric(sub(",", ".", input$mynumber))
Keep in mind that if you use a textInput, the user could type in any string, not just a number.
-Winston