W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2009

2002/css-validator/org/w3c/css/values CssPercentage.java,1.6,1.7

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 05 Mar 2009 18:02:23 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LfHtn-0002Sd-CX@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/values
In directory hutz:/tmp/cvs-serv9443

Modified Files:
	CssPercentage.java 
Log Message:
accessor for float value


Index: CssPercentage.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssPercentage.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CssPercentage.java	25 Mar 2008 18:30:11 -0000	1.6
+++ CssPercentage.java	5 Mar 2009 18:02:21 -0000	1.7
@@ -99,6 +99,13 @@
     }
 
     /**
+     * Returns the value as a float
+     */
+    public float getValue() {
+	return value.floatValue();
+    }
+
+    /**
      * Returns a string representation of the object.
      */
     public String toString() {
Received on Thursday, 5 March 2009 18:02:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:34 UTC