How does one set the number format in Text Boxes (e.g., % with one decimal point; general number with comma separator without decimals?)

Also can the % symbol be set as a trailing character in the box where the percentages will be entered?