use BigDecimal to calculate TotalRecord amount
Merge pull request #5 from gewo/correctly_calculate_total_record

use BigDecimal to calculate TotalRecord amount