     {
         super();
     }
-    
+
     /**
      *  @private
      *  Used for accessing localized Error messages.
      */
     private var resourceManager:IResourceManager =
                                     ResourceManager.getInstance();
-    
+
     /**
-     *  Returns the singleton of this class. 
+     *  Returns the singleton of this class.
      *  Since all NumberInterpolators
      *  have the same behavior, there is no need for more than one instance.
-     *  
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5

            return startValue;
        else if (fraction == 1)
            return endValue;
        if ((startValue is Number && isNaN(Number(startValue))) || 
            (endValue is Number && isNaN(Number(endValue))))
            throw new Error(resourceManager.getString("sparkEffects", "cannotCalculateValue", [startValue, endValue]));
        return Number(startValue) + (fraction * (Number(endValue) - Number(startValue)));
    }
    
    /**
     *  @inheritDoc
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 1.5

////////////////////////////////////////////////////////////////////////////////
package spark.effects.interpolation
{

import mx.resources.IResourceManager;
import mx.resources.ResourceManager;

//--------------------------------------
//  Other metadata
//--------------------------------------

[ResourceBundle("sparkEffects")]

/**
 * The NumberInterpolator class provides interpolation between
 * start and end values represented as Number instances.
 *
 *  @langversion 3.0
 *  @playerversion Flash 10
 *  @playerversion AIR 1.5
