Sample Header Ad - 728x90

How do I get bc to start decimal fractions with a leading zero

7 votes
7 answers
10186 views
How do I get bc to start decimal fractions with a leading zero? $ bc <<< 'scale=4; 1/3' .3333 I want 0.3333.
Asked by Petr Skocik (29590 rep)
Jun 25, 2016, 05:02 PM
Last activity: Feb 27, 2025, 05:52 PM