The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
decimal output "bc not working"
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
decimal output "bc not working"
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
04-09-2009
srilaxmi
Registered User
Join Date: Apr 2008
Posts: 22
Deciaml Output using bc
Hi,
when I try to do
echo 'scale=3; $a / 1000' | bc
here a=1500
This giving error as "syntax error on line 1 stdin"
why iam getting this error?
Thanks,
Sri
srilaxmi
View Public Profile
Find all posts by srilaxmi
Find srilaxmi's past nominations received
Find srilaxmi's present nominations given