diff --git a/lib/arithmetic/nodes.rb b/lib/arithmetic/nodes.rb
index <HASH>..<HASH> 100644
--- a/lib/arithmetic/nodes.rb
+++ b/lib/arithmetic/nodes.rb
@@ -11,7 +11,17 @@ module Arithmetic
     end
    
     def eval
-      BigDecimal.new(@operand)
+      if has_dangling_decimal_point?
+        BigDecimal.new(@operand + "0")
+      else
+        BigDecimal.new(@operand)
+      end
+    end
+
+    private
+
+    def has_dangling_decimal_point?
+      @operand.is_a?(String) && @operand.end_with?(".")
     end
   end
 
diff --git a/spec/arithmetic_spec.rb b/spec/arithmetic_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/arithmetic_spec.rb
+++ b/spec/arithmetic_spec.rb
@@ -69,6 +69,10 @@ describe Arithmetic do
     test_eval(2).should == 2
   end
 
+  it "handles dangling decimal points" do
+    test_eval("0.").should == 0
+  end
+
   context "invalid expressions" do
     it "handles blank expressions" do
       exp_should_error nil
handle issue with dangling decimal point