1. Calculate with command-line tool bc

    Basic usage

    $ echo 'expr' | bc
    

    Hex to Dec

    $ echo 'ibase=16;obase=A;FF' | bc
    255
    
    Tagged as : Cli

Page 1 / 1