mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 05:13:11 -07:00
Removing call to stripzeroesnum if no number exists. (#877)
This commit is contained in:
parent
3c6b5a808e
commit
be4e437f4d
1 changed files with 4 additions and 2 deletions
|
@ -741,8 +741,10 @@ PNUMBER StringToNumber(wstring_view numberString, uint32_t radix, int32_t precis
|
|||
destroynum(pnumret);
|
||||
pnumret = nullptr;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
stripzeroesnum(pnumret, precision);
|
||||
}
|
||||
|
||||
return pnumret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue