mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
04c6dbf141
commit
a909875417
@ -1022,6 +1022,10 @@ xaccParseAmount (const char * in_str, gboolean monetary, double *result,
|
|||||||
*out++ = *in;
|
*out++ = *in;
|
||||||
next_state = PRE_GROUP_ST;
|
next_state = PRE_GROUP_ST;
|
||||||
}
|
}
|
||||||
|
else if (*in == decimal_point)
|
||||||
|
{
|
||||||
|
next_state = FRAC_ST;
|
||||||
|
}
|
||||||
else if (isspace(*in))
|
else if (isspace(*in))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -221,7 +221,7 @@ int gnc_locale_decimal_places( void );
|
|||||||
* PRTSEP -- print comma-separated K's
|
* PRTSEP -- print comma-separated K's
|
||||||
* PRTNMN -- print as non-monetary value
|
* PRTNMN -- print as non-monetary value
|
||||||
* PRTEUR -- print as EURO value (2 decimal places, EUR as currency
|
* 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
|
* PRTCUR -- print as a currency price, with 5 decimals, overides PRTSHR
|
||||||
*
|
*
|
||||||
* If non-NULL, the curr_code argument overrides the default currency
|
* If non-NULL, the curr_code argument overrides the default currency
|
||||||
|
Loading…
Reference in New Issue
Block a user