mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
Core: Atof (comma safe atof)
git-svn-id: svn://ultimatepp.org/upp/trunk@10764 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4b616bf2db
commit
7063d4d9e1
6 changed files with 14 additions and 4 deletions
|
|
@ -182,6 +182,11 @@ double ScanDouble(const wchar *p, const wchar **endptr, bool accept_comma)
|
|||
return ScanDoubleT(p, endptr, accept_comma);
|
||||
}
|
||||
|
||||
double Atof(const char *s)
|
||||
{
|
||||
return Nvl(ScanDouble(s));
|
||||
}
|
||||
|
||||
Value StrIntValue(const char *s)
|
||||
{
|
||||
if(s && *s) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue