It isn't possible to format calculated values in that way.
If you wanted to format a value that you don't want to keep in your main data source, you could use a secondary data source from an XML file and use that instead then you would be able to add rules to format the value box however you wanted it to display. Being a secondary data source it will not save the data in the form when you save the form.