NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdf-java] problem with units code

I am using the Units classes and am having a problem with a unit that has as part of the units

"m^2.5"

The code seems to interpret this as

"m^2"

due to the raiseTo method in UnitImpl expecting that the power is an int.

Any suggestions as to how to work around this problem would be welcome.

                        --Steve

-------------------------------------------------------------------
R. Stephen Schlaifer, Senior Programmer
Global Aerospace Corporation
711 West Woodbury Road, Suite H
Altadena, CA 91001-5327

E-mail:   r.stephen.schlaifer@xxxxxxxxxxxxxx
Web site: http://www.gaerospace.com
Voice:    +1 775-265-7733
Fax:      +1 626-296-0929



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: