Computing.Net > Forums > Unix > floating point representation in UNIX

floating point representation in UNIX

Reply to Message Icon

Original Message
Name: Anup Kumar Maurya
Date: June 22, 2002 at 12:08:28 Pacific
Subject: floating point representation in UNIX
Comment:

hi,
how to write a shell script to read floating point numbers and do arithmetic operations.
please reply


Report Offensive Message For Removal


Response Number 1
Name: PaulS
Date: June 23, 2002 at 07:32:19 Pacific
Reply: (edit)

Shell does not support floating point math. You will need to use awk for that.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: floating point representation in UNIX

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge