In a regular Character Sheet macro, I'm trying to calculate damage for weapons. This in itself is simple enough, except for Armor and Armor Piercing. Armor works simply as damage reduction, but Armor Piercing reduces the value of Armor, but not below 0. So a target with 2 Armor that is hit with an AP 4 weapon has 0 Armor against that weapon. Simple enough, right? But how to I make that function stop at 0? Or is there a way to drop anything lower than 0?