function getStyleAsFloat(el, style) {
    return parseFloat(getStyle(el, style)) || 0;
  }
Returns the computed value of an element's style property transformed into
a float value.

@param {HTMLElement} el
@param {String} style
@returns {Number}