$ echo 2*1024|bc
20480
$ echo 2.0*1024|bc
2048.0
$ echo 2*1024.0|bc
2048.0
What's going on here then?
Update:
dc manages fine
$ echo "2 1024 * p"|dc
2048
What's going on here then? Update: dc manages fine
| ||||
|
feedback
|
|
If you put the
should give you better results. | |||
|
feedback
|