Commit 340e42d1 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Apparently 'N' signifies a floating point number, not an integer. Handle

2005-02-07  Morten Welinder  <terra@gnome.org>

	* boot.c (xbase_field_as_value): Apparently 'N' signifies a
	floating point number, not an integer.  Handle that and thus fix
	#166311.
parent f7500b29
......@@ -36,6 +36,7 @@ Morten:
* Eliminate old printing code.
* Clean out workarounds for old libraries.
* Avoid GnomeFont in printing.
* Fix .dbf import of floating point values. [#166311]
--------------------------------------------------------------------------
Gnumeric 1.4.2
......
2005-02-07 Morten Welinder <terra@gnome.org>
* boot.c (xbase_field_as_value): Apparently 'N' signifies a
floating point number, not an integer. Handle that and thus fix
#166311.
2005-01-17 Jody Goldberg <jody@gnome.org>
* Release 1.4.2
......
......@@ -91,7 +91,7 @@ xbase_field_as_value (gchar *content, XBfield *field, XBfile *file)
return val;
}
case 'N':
val = value_new_int (atoi (s));
val = value_new_float (strtognum (s, NULL));
g_free (s);
return val;
case 'L':
......
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