Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
gzshawnliang committed Feb 8, 2019
1 parent 2edf607 commit 1aa6771
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions myCpps/lowestPriceInTown_UVA10980.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ struct scheme
}
};

//浮点数四舍五入
int round_double(double number)
{
return (number > 0.0) ? floor(number + 0.5) : ceil(number - 0.5);
Expand Down

0 comments on commit 1aa6771

Please sign in to comment.