mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-02 06:06:59 -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
35a63524b2
commit
60add2c64d
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…
Add table
Add a link
Reference in a new issue