How does tx fee calculation work when txin and txout are similar amounts?
Obviously, the example is erroneous. They also neglect to consider that you could send 2.999 XBT and designate all of the remainder of 0.001 XBT as fee.