Using computed field to format phone numbers? I am trying to create a computer field that automatically formats phone numbers like so: xxx.xxx.xxxx

The numbers come from user input, and they will be displayed on each user page (I've added fields to Drupal's user profiles so that they include contact info) 

How do I do that? Never used computed fields before, but I believe it's the solution to what I'm trying to do....
Try Masked Input module. It allows you to create a text field with mask that you can setup custom (e.g. 999.999.9999). When user enters info into the field with masked input, the information entered is formatted automatically and stored into database with that exact format. So the output of formatted information becomes that much easier.  

One drawback of this module is that it provides formatting only if user has JS enabled in the browser. If JS is disabled, you will rely on user to enter info in the desirable format. You can also ask the user to provide info in specific format by entering field description as a fallback (e.g. "Enter your phone number as follows - xxx.xxx.xxxx). 
I've used this module on websites with big user base, and I can tell that users very rarely have JS disabled when they fill up forms.