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!

Negative sign? 2

Status
Not open for further replies.

khicon73

MIS
Jan 10, 2008
36
I would like to ask a negative sign such as user enter 96.969696 then i would like it change to -96.969696. If user enters -96.969696, then it would keep this value and nothing change. This field is always stored a negative number. Please help, thanks.
 
A starting point:
yourField = -Abs(yourField)

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks PHV...It worked...Again, thanks alots.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top