src/elements/Percent.js
function Percent(value, parameters) {
    abstractions.Element.call(this, utilities.types.PERCENT, parameters);
    value = value || 0;  // the default value

    // since this element is immutable the value must be read-only
    this.getValue = function() { return value; };

    return this;
}
function Percent(value, parameters) {
    abstractions.Element.call(this, utilities.types.PERCENT, parameters);
    value = value || 0;  // the default value

    // since this element is immutable the value must be read-only
    this.getValue = function() { return value; };

    return this;
}
function Percent ( value , parameters ) { abstractions . Element . call ( this , utilities . types . PERCENT , parameters ) ; value = value || 0 ; // the default value // since this element is immutable the value must be read-only this . getValue = function ( ) { return value ; } ; return this ; }
PUBLIC CONSTRUCTOR 
This constructor creates a new percent element using the specified value.

@param {Number} value The value of the percent.
@param {Parameters} parameters Optional parameters used to parameterize this element.
@returns {Percent} The new percent element.
PUBLIC CONSTRUCTOR This constructor creates a new percent element using the specified value .