Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3DE94B29 for ; Thu, 2 Jun 2011 13:51:26 +0000 (UTC) Received: (qmail 55912 invoked by uid 500); 2 Jun 2011 13:51:26 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 55769 invoked by uid 500); 2 Jun 2011 13:51:26 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 55761 invoked by uid 99); 2 Jun 2011 13:51:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 13:51:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.161.171] (HELO mail-gx0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 13:51:20 +0000 Received: by gxk22 with SMTP id 22so356401gxk.30 for ; Thu, 02 Jun 2011 06:50:59 -0700 (PDT) Received: by 10.151.116.17 with SMTP id t17mr392558ybm.375.1307022659101; Thu, 02 Jun 2011 06:50:59 -0700 (PDT) MIME-Version: 1.0 Sender: jcarman@carmanconsulting.com Received: by 10.146.86.14 with HTTP; Thu, 2 Jun 2011 06:50:39 -0700 (PDT) In-Reply-To: References: From: James Carman Date: Thu, 2 Jun 2011 09:50:39 -0400 X-Google-Sender-Auth: 4QU95joJqK6oIY2TvFb6mpWXLmc Message-ID: Subject: Re: [LANG] support for k, M suffices when parsing numbers To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 What do they want? A method that returns the number of bytes? So, I suppose they would be multiplying by 1024 as opposed to 1000? So, 1k = 1024 bytes. On Thu, Jun 2, 2011 at 9:47 AM, sebb wrote: > A mail on the Tomcat user list asked why Tomcat does not support > shorthand suffices such as k & m when providing memory sizes, as is > done by the the Java -Xms etc options. > > Seems to me this might be a useful addition to Lang? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org