Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is it possible to format numbers that are displayed in a text box in such a
way that fractional values are displayed to 2 decimal places and whole numbers are not displayed with any decimal point? I have tried using the code: Format (value here, "0.##") This works okay and works nicely for the fractional values, but when whole numbers enter the text box the decimal point is displayed without any trailing values. For example, "4880." Instead, I would like "4880" to be displayed. Thanks in advance for any suggestions, James |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why do my numbers keep going down decimal places? | Setting up and Configuration of Excel | |||
Why do my numbers keep going down decimal places? | Setting up and Configuration of Excel | |||
Subtracting two 2-decimal place numbers gives result 13-decimal places? | Excel Worksheet Functions | |||
formatting decimal places for complex numbers | Excel Programming | |||
Trim numbers to x decimal places | Excel Programming |