DEVTOME.COM HOSTING COSTS HAVE BEGUN TO EXCEED 115$ MONTHLY. THE ADMINISTRATION IS NO LONGER ABLE TO HANDLE THE COST WITHOUT ASSISTANCE DUE TO THE RISING COST. THIS HAS BEEN OCCURRING FOR ALMOST A YEAR, BUT WE HAVE BEEN HANDLING IT FROM OUR OWN POCKETS. HOWEVER, WITH LITERALLY NO DONATIONS FOR THE PAST 2+ YEARS IT HAS DEPLETED THE BUDGET IN SHORT ORDER WITH THE INCREASE IN ACTIVITY ON THE SITE IN THE PAST 6 MONTHS. OUR CPU USAGE HAS BECOME TOO HIGH TO REMAIN ON A REASONABLE COSTING PLAN THAT WE COULD MAINTAIN. IF YOU WOULD LIKE TO SUPPORT THE DEVTOME PROJECT AND KEEP THE SITE UP/ALIVE PLEASE DONATE (EVEN IF ITS A SATOSHI) TO OUR DEVCOIN 1M4PCuMXvpWX6LHPkBEf3LJ2z1boZv4EQa OR OUR BTC WALLET 16eqEcqfw4zHUh2znvMcmRzGVwCn7CJLxR TO ALLOW US TO AFFORD THE HOSTING.

THE DEVCOIN AND DEVTOME PROJECTS ARE BOTH VERY IMPORTANT TO THE COMMUNITY. PLEASE CONTRIBUTE TO ITS FURTHER SUCCESS FOR ANOTHER 5 OR MORE YEARS!

Table of Contents

bc

Hayek's Linux Manual

Command Line calculator

Description

Most users will never use bc but it's a very powerful tool. It supports an interactive mode and like most commands can be used in pipes

Useful Flags

  • -i
    • Interactive Mode
  • scale
    • Sets the number of decimal places
  • ibase/obase
    • convert between number formats

Examples

 # bc
 2+2
 4
 scale=6
 22/7
 3.142857
 scale=100
 22/7
 3.142857142857142857142857142857142857142857142857142857142857142857\
 1428571428571428571428571428571428
 9/2
 4.500000000000000000000000000000000000000000000000000000000000000000\
 0000000000000000000000000000000000
 ibase=10
 obase=16
 56
 38
 12
 C
 1
 1
 0
 0
 10
 A

Computing


QR Code
QR Code bc_hayek.0 (generated for current page)
 

Advertise with Anonymous Ads