A doublejump gives you higher jump height when you jump onto e.g. a "box" of sorts.
To do a doublejump, you need to be HOLDING the jump button. If you jump, then release it, and click it again as you hit the "box", you will not doublejump.
For a doublejump to work, you also need to land relatively close to the "box".