Commit 3aff8b30 authored by Jon K Hellan's avatar Jon K Hellan Committed by Jon Kåre Hellan

Return string as documented, not float.

2002-01-16  Jon K Hellan  <hellan@acm.org>

	* fn-sheet.c (gnumeric_version): Return string as documented, not
	float.
parent 0c210c01
2002-01-16 Jon K Hellan <hellan@acm.org>
* fn-sheet.c (gnumeric_version): Return string as documented, not
float.
2002-01-16 Andreas J. Guelzow <aguelzow@taliesin.ca>
* fn-financial.c : change oem to eom, don't release null maturity
......
......@@ -116,7 +116,7 @@ static char *help_gnumeric_version = {
static Value *
gnumeric_version (FunctionEvalInfo *ei, Value *argv [])
{
return value_new_float (atof (GNUMERIC_VERSION));
return value_new_string (GNUMERIC_VERSION);
}
/***************************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment