just to labour the point
I think
QRegExp("[0-9]{1,3}\\.?[0-9]{0,2}")
will take numbers from 0 to 999.99
using "\\d" instead of [0-9] will accept the minus sign '-' as input
thanks
K
just to labour the point
I think
QRegExp("[0-9]{1,3}\\.?[0-9]{0,2}")
will take numbers from 0 to 999.99
using "\\d" instead of [0-9] will accept the minus sign '-' as input
thanks
K
Bookmarks