Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 59989 invoked from network); 11 Apr 2007 14:44:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Apr 2007 14:44:20 -0000 Received: (qmail 12738 invoked by uid 500); 11 Apr 2007 14:44:16 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 12717 invoked by uid 500); 11 Apr 2007 14:44:16 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 12706 invoked by uid 99); 11 Apr 2007 14:44:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 07:44:16 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of harringf@gmail.com designates 66.249.82.224 as permitted sender) Received: from [66.249.82.224] (HELO wx-out-0506.google.com) (66.249.82.224) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 07:44:09 -0700 Received: by wx-out-0506.google.com with SMTP id t11so215759wxc for ; Wed, 11 Apr 2007 07:43:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=E99l46jVhTxaQMMRREVKPRe/Kti8IyHVVhy07vED9I2VqciqwtsJcetOmRMElRd4CXH0R+Oxrp8M27V4s8lvzKbhg05V+mxxIrGbOFBwXd4o4uFohUe6vHG7u2Z0xkxX3ytWrsQwPXI5XEnxAl625zlkb/zEuy6Bxanvp5kstSk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=JmLCfncE2iGLhxYZfoTcrJn+BOflpI5Xgqvg/kOmJzn4fvBSXt+cHPWyo5NejUkH/iU8ZQMflgeXmeiRJaIioiFcY0NPr9oxyaIq5BKhLww8J7mzV0TL/8utqPnvikvYuT3zcLdvNqhEkG9gfGwpiLoY8vX7hwXSDbKjvV9CtzU= Received: by 10.78.170.17 with SMTP id s17mr127557hue.1176302627912; Wed, 11 Apr 2007 07:43:47 -0700 (PDT) Received: by 10.78.14.6 with HTTP; Wed, 11 Apr 2007 07:43:47 -0700 (PDT) Message-ID: <275f06ee0704110743h7c9a2ec3h182ccb44165c1c57@mail.gmail.com> Date: Wed, 11 Apr 2007 10:43:47 -0400 From: "Harring Figueiredo" To: "Struts Users Mailing List" Subject: [S2] s:text help on formatting output MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12672_19771643.1176302627327" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_12672_19771643.1176302627327 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Folks: It is clear that I MUST be doing something wrong, but I have tried all the options with the to format a number. Here is what I have tried:
  • 1111.199999999
  • 1111.199999999
  • And Here is the Corresponding output on the page: currency format.money currency format.money currency currency currency currency 1003.9999999999999 What in the world ami I missing? ( I am wither misreading the example, or it is clearly not correct. I hope it is the former) I followed the example on this page: http://struts.apache.org/2.x/docs/text.html Other example where format.money={0,number,currency} Thank you in advance for any input. hf ------=_Part_12672_19771643.1176302627327--