in reply to Decimal to Scientific notation
You might also say something like: perl -e 'map{printf("%.11e", $_)} 0.99982928833;'.
Update: : NB.: This is a working example (note that it compiles), based on what stevieb suggested above - with the same result. Sorry, that i forgot the newline...
karls-mac-mini:monks karl$ perl -e 'map{printf("%.11e\n", $_)} 0.99982 +928833;' 9.99829288330e-01
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Decimal to Scientific notation
by toolic (Bishop) on Mar 24, 2015 at 16:05 UTC | |
by karlgoethebier (Abbot) on Mar 24, 2015 at 16:27 UTC | |
by AnomalousMonk (Archbishop) on Mar 24, 2015 at 18:31 UTC | |
by karlgoethebier (Abbot) on Mar 24, 2015 at 19:19 UTC |