fdf using integer for calculation