Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 16th, 2006, 08:34 AM
maday15 maday15 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2006
Posts: 1 maday15 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 19 sec
Reputation Power: 0
Question Array Help for Korn Shell Script

I am using three different arrays for a script I am writing, and then I subtracting array1 from array2 to create array3. I have this working but array1 and array2 are have decimals points, and when array3 is created it drops off the decimals, for example 1.55 - 1.4 = .15, but I get 0. Now I have done calculations before and had to use 'typeset -F2 xxxx' to cause the variables to be floating point, but I don't know how to get an array to be floating point. Any suggestions?

Thanks, Brian

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > Array Help for Korn Shell Script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT