diff options
-rw-r--r-- | FS/FS/rate_tier.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/rate_tier.pm b/FS/FS/rate_tier.pm index 1ca457d63..b9b4c991c 100644 --- a/FS/FS/rate_tier.pm +++ b/FS/FS/rate_tier.pm @@ -118,6 +118,7 @@ sub rate_tier_detail { if ( defined($_[0]) && length($_[0]) ) { my $quantity = shift; + $quantity = int( $quantity + 0.00001 ); qsearchs({ 'table' => 'rate_tier_detail', |