Sample Header Ad - 728x90

Does bc support hex calculations?

33 votes
1 answer
34316 views
I'm trying to do a hex calculation directly with bc, I already specified the scale. echo 'scale=16;c06b1000-c06a5e78' | bc But I still get a zero. What could be wrong?
Asked by daisy (55787 rep)
Oct 4, 2012, 06:55 AM
Last activity: Nov 29, 2020, 01:09 PM