Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to keep the .0 in number fields? 1

Status
Not open for further replies.

squirleegirl

Programmer
Jun 24, 2003
59
US
I know this is probably a stupid question, but what data type will allow me to use decimals even on whole numbers?

I have some users that want will sometimes enter decimal numbers in, but if the number they enter is a whole number, they still want to see the .0 after the number.

Which data type must I use? I just can't figure it out.
 
No numeric dataype will allow that. You need to format it at the user interface.

Questions about posting. See faq183-874
 
Duh! I should have known that. Thanks for the quick reply - the light bulb just went off! Sorry, I'm blonde =-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top