Is it possible to create a function that can accept numbers with dot separators?
Here are some examples:
func('100.000.002.333') // should pass
func('10') // should pass
func('20') // should pass
func('100') // should pass
func('20') // should pass
func('0100.000') // error
func('1000') // error
func('000.000') // error (leading zero)
func('100.000.') // error (trailing dot)
func('100.00.000') // error
func('.100.00.000') // error (leading dot)