[Thread Prev][Thread Next][Index]

density calculation, rho_un and precision



Dear Sir

I want to calculate the density (ryo_un) by two decimals like

1021.22.

I have the data of temperature and salinity in the ascii file, density.txt

(temperture) (salinity)  (depth)
28.12        30.9        0.4 
28.25        33.2        9.7
28.29        33.5        21.0
28.36        33.7        25.8

file /variables="tem,sal,dep" density.txt
let density=rho_un(tem,sal,dep)
list density

result come like
1    1019.
2    1021.
3    1021.
4    1021.

I want to get more precise(in decimal) result like

1    1019.36 
2    1021.07
3    1021.79
4    1021.97

Could you tell me how I could do it?

Thank you in advance.

Takaya Namba





_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement