I need to store this elapsed time (I guess it probably looks like something 11.11111111111 ?) in db, what is the best MySQL field type to setup for this to store it?
FLOAT or DOUBLE depending on how much precision you need. But DECIMAL would also be fine - I once had a similar case to yours and I stored the script duration in a DECIMAL(5,3) column. This works fine and I have the numbers nicely formatted in the db (zero-padded to 3 decimal places).
I was googling how DOUBLE looks like, the only thing I found is that it is 8 bytes, can you give some explanation how much is maxmimum allowable value for DOUBLE and how does it look like? I know when integer increases, decimal reduces but please give some explanations. and which width would be good to use with DOUBLE(?) ?