Changed Datatype to BigDecimal instead of Floating.Also some small
corrections.