![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sed - simple question | scotty_123 | Shell Programming and Scripting | 13 | 03-28-2007 11:23 PM |
| Simple C question... Hopefully it's simple | Xeed | High Level Programming | 6 | 12-15-2006 10:29 AM |
| Ok simple question for simple knowledge... | Corrail | UNIX for Dummies Questions & Answers | 1 | 11-28-2005 09:03 AM |
| Simple TAR question | yankee428 | UNIX for Dummies Questions & Answers | 3 | 08-23-2005 04:49 PM |
| a math related question | jahjah | Shell Programming and Scripting | 9 | 09-13-2004 07:56 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Simple Math question...
Hi All ,
I'm trying to do a simple math expression ...but unsuccessfull :-( Anyone can help me? days=23 amount=`expr ${days} / 30 \* -125` echo $amount but as result i got 0 when i expect 95.833333 Another question...how i can limit only to two or three decimal fields? Thanks in advance |
| Forum Sponsor | ||
|
|
|
||||
|
Searching the forums may have given you the answer faster. See Problem in division
|
||||
| Google UNIX.COM |