Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gnumeric
Commits
2b2ddc82
Commit
2b2ddc82
authored
Oct 05, 1998
by
Arturo Espinosa
Browse files
Fix typos
parent
4a1b760f
Changes
3
Hide whitespace changes
Inline
Side-by-side
plugins/fn-math/functions.c
View file @
2b2ddc82
...
...
@@ -347,7 +347,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return
NULL
;
}
c
=
value_get
s
_as_double
(
count
->
v
);
c
=
value_get_as_double
(
count
);
if
(
c
==
0
.
0
){
*
error_string
=
"Division by zero"
;
...
...
@@ -355,7 +355,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return
NULL
;
}
result
=
value_float
(
value_get_as_double
(
sum
->
v
)
/
c
);
result
=
value_float
(
value_get_as_double
(
sum
)
/
c
);
value_release
(
count
);
value_release
(
sum
);
...
...
src/fn-math.c
View file @
2b2ddc82
...
...
@@ -347,7 +347,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return
NULL
;
}
c
=
value_get
s
_as_double
(
count
->
v
);
c
=
value_get_as_double
(
count
);
if
(
c
==
0
.
0
){
*
error_string
=
"Division by zero"
;
...
...
@@ -355,7 +355,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return
NULL
;
}
result
=
value_float
(
value_get_as_double
(
sum
->
v
)
/
c
);
result
=
value_float
(
value_get_as_double
(
sum
)
/
c
);
value_release
(
count
);
value_release
(
sum
);
...
...
src/functions/fn-math.c
View file @
2b2ddc82
...
...
@@ -347,7 +347,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return
NULL
;
}
c
=
value_get
s
_as_double
(
count
->
v
);
c
=
value_get_as_double
(
count
);
if
(
c
==
0
.
0
){
*
error_string
=
"Division by zero"
;
...
...
@@ -355,7 +355,7 @@ gnumeric_average (void *tsheet, GList *expr_node_list, int eval_col, int eval_ro
return
NULL
;
}
result
=
value_float
(
value_get_as_double
(
sum
->
v
)
/
c
);
result
=
value_float
(
value_get_as_double
(
sum
)
/
c
);
value_release
(
count
);
value_release
(
sum
);
...
...
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