Wednesday, May 16, 2012 11:38 PM
I have a regex for decimals:
This works. But I want the values to NOT display in scientfic notation.
So, any number from -9999999999.99999999999 to 9999999999999.999999999999999 is valid
But, if user enters .000001 I want it to display as .000001 not as .01E-6 (or whatever the result is)
Any help greatly appreciated.
- Moved by Mike FengMicrosoft Contingent Staff Friday, May 18, 2012 7:30 AM Asp.net (From:Regular Expressions)
Thursday, May 17, 2012 10:05 AM
Where do you input the number?
Have a nice day.
Call me ghost for short, Thanks
To get the better answer, it should be a better question.
Thursday, May 17, 2012 3:45 PM
Thanks for responding.
I am entering this into a DevExpress ASPxGridView. Connecting to a SQL Server database where the data is stored in scientifc notation. i.e. 2E-07.
So, I'm guessing this is an issue with the devexpress textbox not having correct formatting and nothing to do with the regex, eh? Sorry, should have thought of that initially.
Friday, May 18, 2012 7:29 AM
Yes, I think so.
I suggest you try to ask this issue on asp.net forum: http://forums.asp.net/
And I moved this thread to off-topic forum.
Thank you for your understanding and support.
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Proposed As Answer by Mr. WhartyMicrosoft Community Contributor, Moderator Thursday, May 31, 2012 2:18 AM