GE Lua Documentation

Press F to search!

toFloat

Definition


-- @/=[C]:-1
function toFloat(...)

Callers

@/ui/lib/ext/resize-observer-polyfill/ResizeObserver.js
     */
    function toFloat(value) {
        return parseFloat(value) || 0;
            var value = styles['border-' + position + '-width'];
            return size + toFloat(value);
        }, 0);
            var value = styles['padding-' + position];
            paddings[position] = toFloat(value);
        }
        // affected by CSS transformations let alone paddings, borders and scroll bars.
        var width = toFloat(styles.width), height = toFloat(styles.height);
        // Width & height include paddings and borders when the 'border-box' box
        // affected by CSS transformations let alone paddings, borders and scroll bars.
        var width = toFloat(styles.width), height = toFloat(styles.height);
        // Width & height include paddings and borders when the 'border-box' box
@/ui/lib/ext/resize-observer-polyfill/ResizeObserver.global.js
 */
function toFloat(value) {
    return parseFloat(value) || 0;

        return size + toFloat(value);
    }, 0);

        paddings[position] = toFloat(value);
    }
    // affected by CSS transformations let alone paddings, borders and scroll bars.
    var width = toFloat(styles.width),
        height = toFloat(styles.height);
    var width = toFloat(styles.width),
        height = toFloat(styles.height);