- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 05 Mar 2009 18:02:23 +0000
- To: www-validator-cvs@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