You want to type decimal, but use digitOnly, so you can't. so use step="0.01"
so that after adding, your value is number
`
problem`
`html
`
solution
`html
`