Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Negative Numbers shown without a - minus
Message
 
 
To
28/08/2014 12:48:28
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01606633
Message ID:
01606686
Views:
70
>>>>It seems like I remember this can be done - how can I have a negative number like -999.99 appear as 999.99 within a textbox? I thought this could be done or perhaps at least done with the negative number appearing as red.
>>>>
>>>>Thanks in advance....
>>>>
>>>>Mel
>>>
>>>ABS()
>>>and
>>>DynamicBackColor, DynamicForeColor
>>
>>
>>Ahhhh..... good idea... thanks....
>
>Still not quite sure you're doing the right thing. I tried to see a few possible cases where such a requirement was possible, and it all came down to "I wouldn't do it that way". If it was an accounting thing, then the negative amount should be on the other side - at least that's what the accountants taught me. If it's a negative debit, then it should be a credit. Unless it's a cancellation, in which case it must be negative. Showing it as positive is basically display of incorrect information.
>
>If it's just that your users can't grasp the concept of negative numbers, then again I wouldn't do it that way... I'd try to find a way away from them :).

It is for an accounting module, but not for a debit or credit column. Instead it is for a Budget column and the negative numbers are confusing in this column (in addition to the fact the users are use to it since 1988).

I fully agree on the Debit and Credit sides.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform