Update Book.java

changed int to double