Formats a string value as specified


Format(1, 2)

Function Properties

1stringRequiredString value to format
2stringRequiredFormat to apply to string. Choose MM/dd/yyyy or Cn, where n represents the number of decimal places in the currency value.

In this sample code, the first function takes the string and applies the MM/dd/yyyyformat to it. The second function applies two decimal places to the string.