Sunday, May 8, 2011

apache commons-math

I want to use the Fraction and FractionFormat from apache commons-math on the client side but the lib is not compatible with GWT.

[ERROR] [portfolio] - Line 82: No source code is available for type org.apache.commons.math.fraction.FractionFormat; did you forget to inherit a required module? 
[ERROR] [portfolio] - Line 83: No source code is available for type org.apache.commons.math.fraction.Fraction; did you forget to inherit a required module?

The only operations I need are:
Create a Fraction from a double and vice-versa
Format the Fraction as a String

Is there a port of that lib for GWT? If not I guess I will need to write it by myself, do you know the name of the algorithm used by that library.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate