Arithmetic Operations

  • + 2 comments

    Having the same issues as everyone else here; scale = 3 gives 17.928 NOT 17.929. Although I know that the answer should be 17.929, quite an odd problem.

    EDIT:

    You need to use the printf method for it to work, the reason is that -bc literally chops off the end of the number instead of actually rounding.