Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
e72034a5
Commit
e72034a5
authored
Aug 23, 2017
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c_numFormatFirstCell -> cNumFormatFirstCell
parent
7360ec7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cell/model/FormulaObjects/parserFormula.js
cell/model/FormulaObjects/parserFormula.js
+5
-5
No files found.
cell/model/FormulaObjects/parserFormula.js
View file @
e72034a5
...
...
@@ -439,7 +439,7 @@ var c_Date1900Const = 25568; //разница в днях между 01.01.1970
var
c_sPerDay
=
86400
;
var
c_msPerDay
=
c_sPerDay
*
1000
;
var
rx_sFuncPref
=
/_xlfn
\.
/i
;
var
c
_n
umFormatFirstCell
=
-
1
;
var
c
N
umFormatFirstCell
=
-
1
;
var
cNumFormatNone
=
-
2
;
Date
.
prototype
.
excelNullDate1900
=
Date
.
UTC
(
1899
,
11
,
30
,
0
,
0
,
0
);
...
...
@@ -2336,7 +2336,7 @@ parserHelp.setDigitSeparator(AscCommon.g_oDefaultCultureInfo.NumberDecimalSepara
}
cBaseOperator
.
prototype
.
type
=
cElementType
.
operator
;
cBaseOperator
.
prototype
.
numFormat
=
c
_n
umFormatFirstCell
;
cBaseOperator
.
prototype
.
numFormat
=
c
N
umFormatFirstCell
;
cBaseOperator
.
prototype
.
getArguments
=
function
()
{
return
this
.
argumentsCurrent
;
};
...
...
@@ -2387,7 +2387,7 @@ parserHelp.setDigitSeparator(AscCommon.g_oDefaultCultureInfo.NumberDecimalSepara
cBaseFunction
.
prototype
.
type
=
cElementType
.
func
;
cBaseFunction
.
prototype
.
argumentsMin
=
0
;
cBaseFunction
.
prototype
.
argumentsMax
=
255
;
cBaseFunction
.
prototype
.
numFormat
=
c
_n
umFormatFirstCell
;
cBaseFunction
.
prototype
.
numFormat
=
c
N
umFormatFirstCell
;
cBaseFunction
.
prototype
.
ca
=
false
;
cBaseFunction
.
prototype
.
Calculate
=
function
()
{
this
.
value
=
new
cError
(
cErrorType
.
wrong_name
);
...
...
@@ -5127,7 +5127,7 @@ parserFormula.prototype.parse = function(local, digitDelim) {
opt_bbox
=
new
Asc
.
Range
(
0
,
0
,
0
,
0
);
}
var
elemArr
=
[],
_tmp
,
numFormat
=
-
1
,
currentElement
=
null
;
var
elemArr
=
[],
_tmp
,
numFormat
=
cNumFormatFirstCell
,
currentElement
=
null
;
for
(
var
i
=
0
;
i
<
this
.
outStack
.
length
;
i
++
)
{
currentElement
=
this
.
outStack
[
i
];
if
(
currentElement
.
name
==
"
(
"
)
{
...
...
@@ -6075,7 +6075,7 @@ function rtl_math_erfc( x ) {
window
[
'
AscCommonExcel
'
].
c_DateCorrectConst
=
c_Date1900Const
;
window
[
'
AscCommonExcel
'
].
c_sPerDay
=
c_sPerDay
;
window
[
'
AscCommonExcel
'
].
c_msPerDay
=
c_msPerDay
;
window
[
'
AscCommonExcel
'
].
cNumFormatFirstCell
=
c
_n
umFormatFirstCell
;
window
[
'
AscCommonExcel
'
].
cNumFormatFirstCell
=
c
N
umFormatFirstCell
;
window
[
'
AscCommonExcel
'
].
cNumFormatNone
=
cNumFormatNone
;
window
[
'
AscCommonExcel
'
].
cNumber
=
cNumber
;
...
...
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