In campaign Pathfinder 2e Rolls
1d20+4
10
Breakdown:
DiceRoll[1d20]
→
6
Constant[+4]
→ 4