xeroizer-float 2.15.3.8 → 2.15.3.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.15.3.8
1
+ 2.15.3.9
@@ -32,7 +32,7 @@ module Xeroizer
32
32
  def line_amount(summary_only = false)
33
33
  return attributes[:line_amount] if summary_only || @line_amount_set
34
34
 
35
- BigDecimal((quantity * unit_amount * (100.0 - discount_rate)).to_s).round(2) if quantity && unit_amount
35
+ BigDecimal((quantity * unit_amount * ((100.0 - discount_rate)/100.0)).to_s).round(2) if quantity && unit_amount
36
36
  end
37
37
 
38
38
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "xeroizer-float"
8
- s.version = "2.15.3.8"
8
+ s.version = "2.15.3.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Wayne Robinson", "Philip Roberts"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xeroizer-float
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.3.8
4
+ version: 2.15.3.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: