Changed fpp from int to double