From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,SPF_PASS, T_DKIM_INVALID shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id A2BDC1F4DD for ; Tue, 29 Aug 2017 12:25:03 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 1E4201208D8; Tue, 29 Aug 2017 21:25:01 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id ED07B1208D6 for ; Tue, 29 Aug 2017 21:24:58 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=SVGACyfklYlhBcOsSSTBJSIkAAE=; b=BAsECB4RowFkAdx4/D g/UyMpnzYfF+kTueTh/3LNAb3zMw+IdZkGFqxGLCMuRpmA6KoyD46OXfGVZZiVwl aBgOr+nV69Cv9zrbrhrHDKa3OSbi9MpWcLh/GcVZxI6ibfDsxD6qqTLpQrZhcANS o5W14aSMOxMYRt+cYvkjjbbgY= Received: by filter0019p3las1.sendgrid.net with SMTP id filter0019p3las1-11375-59A55D17-A 2017-08-29 12:24:55.33383787 +0000 UTC Received: from herokuapp.com (ec2-54-80-247-41.compute-1.amazonaws.com [54.80.247.41]) by ismtpd0006p1iad1.sendgrid.net (SG) with ESMTP id U0dGX2OARKK858cPF2Y5Fw for ; Tue, 29 Aug 2017 12:24:55.172 +0000 (UTC) Date: Tue, 29 Aug 2017 12:24:55 +0000 (UTC) From: ded@ddoherty.net To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 57564 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13848 X-Redmine-Issue-Author: ddoherty03 X-Redmine-Sender: ddoherty03 X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS5fcAy3cW6SIv2RXD8kU1FBLMyySFffLIFhFt R2Q/U4t6nO+I9cVOGAnI7nOZ+b0ZNLKrcjP/QpIRl6jQVA3nVOhkes0Oy9SO4QYyPMGdJlI+q0RKbD SbzU7Xrp58FYxoRGvzEkgWKoguj/j8se8mmr X-ML-Name: ruby-core X-Mail-Count: 82512 Subject: [ruby-core:82512] [Ruby trunk Bug#13848] BigDecimal.new('200.') raises an exception X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #13848 has been reported by ddoherty03 (Daniel Doherty). ---------------------------------------- Bug #13848: BigDecimal.new('200.') raises an exception https://bugs.ruby-lang.org/issues/13848 * Author: ddoherty03 (Daniel Doherty) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux] * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- BigDecimal.new('200.') raises an exception: ArgumentError: invalid value for BigDecimal(): "200." It should accept this as a valid decimal number. This requires fixing numbers read in from the wild. -- https://bugs.ruby-lang.org/