Ahh yes, velocity doesn't do floats.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1362 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
eric
2004-01-05 19:13:30 +00:00
parent f04c382bf9
commit b366606757
@@ -1,5 +1,5 @@
//
// $Id: DataTool.java,v 1.2 2003/12/10 20:28:51 mdb Exp $
// $Id: DataTool.java,v 1.3 2004/01/05 19:13:30 eric Exp $
package com.samskivert.velocity;
@@ -36,4 +36,12 @@ public class DataTool
{
return Array.getLength(array);
}
/**
* Floating point divide.
*/
public float div (float a, float b)
{
return a/b;
}
}