HOW TO edit exp like 1E-4 into bash?

daniii

Registered
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
 
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...
 
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?)?
 
Back
Top