using strings combining a float number and lower case 'm' as input parameter will be recognized into time datatype.for example:
println(params.size)
if I type --size 1.2m, it would print 1m 12s out.
Anything I could do to prevent this happening?
Cheers.
using strings combining a float number and lower case 'm' as input parameter will be recognized into time datatype.for example:
println(params.size)if I type
--size 1.2m, it would print1m 12sout.Anything I could do to prevent this happening?
Cheers.