mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
fix CI error
This commit is contained in:
parent
cf1f9f8d44
commit
dff57eb42b
1 changed files with 1 additions and 1 deletions
|
@ -929,7 +929,7 @@ void UnitConverter::TrimString(_Inout_ wstring& returnString)
|
|||
unsigned int UnitConverter::GetNumberSignificantDigits(std::wstring value)
|
||||
{
|
||||
TrimString(value);
|
||||
unsigned int numberSignificantDigits = value.size();
|
||||
unsigned int numberSignificantDigits = static_cast<unsigned int>(value.size());
|
||||
if (value.find(L'.') != value.npos)
|
||||
{
|
||||
--numberSignificantDigits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue