I want a cell in a grid or an edit control to accept real numbers like -543.674, 0.024, 156743.001, -3.142, but I don't find a direct way to do it. I've tried masks like ######0.000 or #9999.999 but they work funny. Masks seem suitable for phone numbers, area codes, but not for money amounts or other quantities... weird!!! Thank you for your help...In C++ Builder: How can I accept amounts in a control or cell?
Ask a C++ expert at http://askexpert.info/In C++ Builder: How can I accept amounts in a control or cell?
You want to make sure that input is set to decimal/double.
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment