At the dinner, I wound up sitting at a one-on-one table with a random girl, Sarah, from the other staff, and after the initial awkwardness (because neither of us got to sit with our friends) we actually started getting along. We had a fair bit in common, and we were able to make each other laugh, and she had the most beautiful eyes I've ever seen, so I didn't mind looking at her as we talked - overall, it was a surprisingly pleasant experience, especially considering that my friends were teasing me for most of the night.
Anyway, about an hour and a half later when the dinner ended, we said our goodbyes, but my friends kept telling me I should have gotten her number, and in hindsight I really wish I had. But, as I've been thinking about it, I realized I have no idea how I would've gone about getting it.
And so that leads me to my question: what would have been the best way to ask Sarah for her number? Would it have been as simple as asking, "Hey, can I have your number?" Or is that too weird/creepy? Would there have been a better/more natural way to ask her for it?
This is all a moot point now, because she's from Kansas and I live in California, and I'll probably never see her again, but I just want to know for future reference.
Thanks, you guys, for any advice you can give me.

P.S: Before anybody else does it, I'll go ahead and get it out of the way: JAHO.