From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6AOOEhcRbV+yAQAA0tVLHw (envelope-from ) for ; Thu, 24 Sep 2020 21:35:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wDuCDhcRbV+5CAAA1q6Kng (envelope-from ) for ; Thu, 24 Sep 2020 21:35:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C532D9404CA for ; Thu, 24 Sep 2020 21:35:18 +0000 (UTC) Received: from localhost ([::1]:48402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLYtZ-0007Q9-P0 for larch@yhetil.org; Thu, 24 Sep 2020 17:35:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLYSW-0000RQ-J9 for emacs-orgmode@gnu.org; Thu, 24 Sep 2020 17:07:20 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:57462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLYSU-00022D-F5 for emacs-orgmode@gnu.org; Thu, 24 Sep 2020 17:07:19 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 18651938A7; Thu, 24 Sep 2020 17:07:16 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=UCFkKtMRoJiatCXky1SvhThAdZY=; b=mBr4fA w7nHosMC5ZxuOwOgmi+1zkCjuHzINIei8TEAH5LlOcv7rKO1XuXPOigKH9Sd0f4E qA7p8x67r/zkxUNMSQ7q9wZMSlGPScx790SFzbcbn+L4+D6f3TGuKlqxVG4il93/ W+C/6G2ZUTcRlq3tw7w67cflS04YdW8Of2YhM= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 092A7938A6; Thu, 24 Sep 2020 17:07:16 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=DPw3xT9ONP8rs8oBhf1kA5MdgYgSk++2NPb8KqsBzCY=; b=xMpLqcz712EA0Wl72wcBptEj3o2n/meUVgz6ktfh1ek5Hj31syRFncyw6YKUO6P05CnM2KzXUrl525RstKnkQICE9qe3tradGIDtZogI7vsIGOEvu2/NtR4R+f8qtzXnR/wUbabxwgC8ucJU7cpIcaQa1vzK8qxsTNjYwh0zACE= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 70507938A5; Thu, 24 Sep 2020 17:07:15 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Kein Test Subject: Re: org-table-sum In-Reply-To: <87a6xex5o1.fsf@kyleam.com> References: <87a6xex5o1.fsf@kyleam.com> Date: Thu, 24 Sep 2020 17:07:14 -0400 Message-ID: <877dsix4sd.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: EC3FF3F0-FEA9-11EA-A757-01D9BED8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/24 17:07:16 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=mBr4fA w; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=xMpLqcz7; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: sZM1nw/sXlz8 Kyle Meyer writes: > Here's what org-table-sum does underneath: > > (apply #'+ > (list 171.0 4.07 4.44 2.61 12.21 6.69 19.72 23.09 6.23 15.28 78.85)) > ;; => 1094.1899999999998 Sorry, I pasted the wrong snippet (that one above has some numbers pruned and returns "344.18999999999994"). Here's the snippet that would match the your table: (apply #'+ (list 171.0 4.07 4.44 2.61 12.21 6.69 19.72 23.09 6.23 15.28 250.0 250.0 250.0 78.85))