Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asset-distribution
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
asset-distribution
Commits
8afb8dc7
Commit
8afb8dc7
authored
Aug 26, 2019
by
liwenbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 8e7437904897429e82e52082e1537631情况
parent
65a86141
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Expression.java
...m/quantgroup/asset/distribution/util/calc/Expression.java
+3
-3
No files found.
src/main/java/com/quantgroup/asset/distribution/util/calc/Expression.java
View file @
8afb8dc7
...
@@ -1186,11 +1186,11 @@ public class Expression {
...
@@ -1186,11 +1186,11 @@ public class Expression {
}
}
for
(
char
ch
:
st
.
toCharArray
())
{
for
(
char
ch
:
st
.
toCharArray
())
{
if
(!
Character
.
isDigit
(
ch
)
if
(!
Character
.
isDigit
(
ch
)
// 677e1245-4e58-4979-8794-39e728e84248,会把这种当做number
// 677e1245-4e58-4979-8794-39e728e84248,
8e7437904897429e82e52082e1537631
会把这种当做number
// && ch != minusSign
// && ch != minusSign
&&
ch
!=
decimalSeparator
&&
ch
!=
decimalSeparator
&&
ch
!=
'e'
//
&& ch != 'e'
&&
ch
!=
'E'
//
&& ch != 'E'
// && ch != '+') {
// && ch != '+') {
)
{
)
{
return
false
;
return
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment