Return-Path: X-Original-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3500E9DB1 for ; Mon, 18 Jun 2012 11:09:13 +0000 (UTC) Received: (qmail 46781 invoked by uid 500); 18 Jun 2012 11:09:13 -0000 Delivered-To: apmail-incubator-ooo-issues-archive@incubator.apache.org Received: (qmail 46678 invoked by uid 500); 18 Jun 2012 11:09:12 -0000 Mailing-List: contact ooo-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-issues@incubator.apache.org Delivered-To: mailing list ooo-issues@incubator.apache.org Received: (qmail 46643 invoked by uid 99); 18 Jun 2012 11:09:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2012 11:09:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.123] (HELO sif.zones.apache.org) (140.211.11.123) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2012 11:09:10 +0000 Received: by sif.zones.apache.org (Postfix, from userid 80) id 104F9458B; Mon, 18 Jun 2012 11:08:50 +0000 (UTC) From: bugzilla@apache.org To: ooo-issues@incubator.apache.org Subject: [Bug 30470] Calc needs ability to specify fixed decimal. Date: Mon, 18 Jun 2012 11:08:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: spreadsheet X-Bugzilla-Component: ui X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: shcothran@yahoo.com X-Bugzilla-Status: CONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: requirements@qa.openoffice.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/ooo/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/ooo/show_bug.cgi?id=30470 Shirley changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shcothran@yahoo.com --- Comment #11 from Shirley --- I was reading through the oldests bugs because my particular favorite is next to the oldest. In doing so, I ran across this bug -er- enhancement - that is also rated trivial. I think the powers that decide on what to work on are using the votes of the current user base (and probably only the more technical and vocal among them) and not the potential customers who are out there. But about this problem in particular. This isn't a pretty solution but it works. It would be nicer if it were in a macro but every time I try to develop a macro in OO, I fail miserably (in spite of having programmed for years and years. Once upon a time, I even wrote a HR budgeting system using only Lotus macros). So here is my suggestion. 1. Enter the series of numbers with and without decimal points: 123 1 4567 1.2358 2. HIGHLIGHT the values you just entered. 3. Open FIND and REPLACE 4. Click on MORE OPTIONS 5. Put checkmarks in CURRENT SELECTION ONLY and REGULAR EXPRESSIONS 6. In the SEARCH FOR box copy and paste this: ^[:digit:]*[^\.-\.][:digit:]*$ 7. In the REPLACE WITH box enter =&*.01 8. Click on FIND ALL to see which cells with be changed. 9. Click on REPLACE ALL. In the example, the results will appear as: 1.23 .01 45.67 1.2358 Again, this isn't an elegant solution. You have to remember to run the FIND and REPLACE. If you change one of the numbers after you did the FIND and REPLACE, you have to enter the decimal point in the correct position. If you use a comma to separate whole numbers from the fractional part, this isn't going to work but could be adapted. -- You are receiving this mail because: You are on the CC list for the bug.