KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I can't figure out why bc tool sometimes ignores the scale option. Here is an example: > echo 'scale=2; 2.777 - 1.4744' | bc 1.3026 Expected result is: 1.30 Additional information: > bash --version GNU bash, version 2.05b.0(1)-release (x86_64-suse-linux) Copyright (C) 2002 Free Software Foundation, Inc. > bc --version bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
Tags (comma-separated)
Save Edits
Cancel