Entering a value greater than 100 gold via text while selling to the AI cause the equation to crash.
To express the bug:
1. Open trade with AI.
2. Demand from them 101 gold. Enter the number by hand in the window. Click OK.
3. AI will value its 101 gold as 2525 gold.
4. Fuck this you say, I don't want your gold.
5. Click the 101 in the trade list in the middle to cancel it. Now the AI values nothing as worth 2424 gold.
Note 0: Clicking '50' works fine, even if you have to hit it 20 times ("buy $1000 worth of wares? my finger hurts"). It's the text box that has problems.
Note 1: if the AI hates you, it may charge 5050 instead of 2525.
Note 2: step 4 is optional.