Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[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: