Digital-thickness-gauge