Minor fix to docs and number parsing.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2992 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-10-01 09:23:36 +00:00
parent 04c6dbf141
commit a909875417
2 changed files with 5 additions and 1 deletions

View File

@ -1022,6 +1022,10 @@ xaccParseAmount (const char * in_str, gboolean monetary, double *result,
*out++ = *in;
next_state = PRE_GROUP_ST;
}
else if (*in == decimal_point)
{
next_state = FRAC_ST;
}
else if (isspace(*in))
{
}

View File

@ -221,7 +221,7 @@ int gnc_locale_decimal_places( void );
* PRTSEP -- print comma-separated K's
* PRTNMN -- print as non-monetary value
* PRTEUR -- print as EURO value (2 decimal places, EUR as currency
* symbol if PRTSYM is specified, mutually exclisive with PRTSHR)
* symbol if PRTSYM is specified, mutually exclusive with PRTSHR)
* PRTCUR -- print as a currency price, with 5 decimals, overides PRTSHR
*
* If non-NULL, the curr_code argument overrides the default currency