Fixed in Science Notation logic

This commit is contained in:
John Jenko 2009-11-17 14:40:17 +00:00
parent bcc808bc38
commit 130be66c63

View File

@ -702,6 +702,11 @@ namespace Volian.Controls.Library
if (str[cnt] == '.') if (str[cnt] == '.')
{ {
cnt = NextNonNumber(str, cnt + 1); cnt = NextNonNumber(str, cnt + 1);
if (cnt >= str.Length) //jsj bug fix
{
outstr += str.Substring(tstr);
break; // jump out of while loop - nothing else to process
}
if (str[start] == '\'') if (str[start] == '\'')
{ {
start++; start++;