image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old October 7th, 2005, 03:17 AM
Registered User
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
daniii is on a distinguished road
HOW TO edit exp like 1E-4 into bash?

Hi!
I like to edit this guy 0.000000000000000001 into bash. It is quite annoying. So do anybody know, how I can edit this stuff into bash/shell as 1E-33 or something like this formate? I do not have any experience with programming. Just want do edit numbers like 1E-155 into shell without million of zeros.
Thanks,
dani
Reply With Quote
  #2  
Old October 7th, 2005, 09:18 AM
lurk's Avatar
Mitä?
 
Join Date: Mar 2002
Location: Land o' skeeterz
Posts: 2,076
Thanks: 0
Thanked 0 Times in 0 Posts
lurk is on a distinguished road
I am afraid I have to ask why? I think you might be using the wrong tool since you really should never be using bask for floating point calculations.

// Then again as a certified shell abuser myself what right to I have to talk...
Reply With Quote
  #3  
Old October 7th, 2005, 10:17 AM
Squart's Avatar
Registered User
 
Join Date: Sep 2005
Location: Bavaria, Germany
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Squart is on a distinguished road
First of all: With which software do you work in bash? What is the aim of changing such rational numbers? What are the things you expect from the software (not only scientific notation, do you?)?
Reply With Quote
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 09:22 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.