Description | Usage | Method | See Also |
Character | Behavior |
# | Display a number if necessary or present |
0 | Display a number if present, otherwise, display a zero |
Format String | Behavior |
0000 | Always display at least four figures without a decimal
place 1234.2 will display as 1234 4.2 will display as 0004 |
#.000# | All numbers will display at least 3 decimal places,
more if necessary 423.0 will display as 423.000 0.23 will display as .230 3.14159 will display as 3.1416 |
$#0.00 | All values will start with a U.S. dollar sign and
contain 2 decimal places 113 will display as $113.00 0.042 will display as $0.04 |
![]() |
![]() |