Custom Interpolation

Is there a way I can use the engine’s interpolation methods and apply it on basic data type and get the result?

I read something about inheriting from CCActionInterval but I’m not sure how to go about this.

Yes you can inherit ActionInterval and override update(float t) method. in the update, just multiply your data by t.