We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Loading...
  • Practice
  • Compete
  • Jobs
  • Leaderboard
  1. Practice
  2. Linux Shell
  3. Bash
  4. Arithmetic Operations
  5. Discussions

Arithmetic Operations

  • Problem
  • Submissions
  • Leaderboard
  • Discussions
  • Editorial
  • Tutorial

    You are viewing a single comment's thread. Return to all comments →

  • asprabhune 10 months ago+ 0 comments

    read num echo $num | bc -l | xargs printf "%.*f\n" 3

    0|
    ParentPermalink
  • Contest Calendar
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy
  • Request a Feature