Pricing of digital options