Well I remember in 3rd specifically they where worth how ever much XP they earnedHow much xp is a party member worth?
Honestly, it's such a poorly written ability. Since ability checks are just that, a check using an ability score that can be boosted by having proficiency in a skill, they really should have just said that dwarves receive double their proficiency bonus on any check involving knowledge of mining and stonework.