Update README.md

This commit is contained in:
Christopher Fremond 2021-07-02 18:33:41 +01:00 committed by GitHub
parent 6854330a83
commit a65ef66565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
- Write a function that transforms a number within a `string`, in an `int`.
- For this exercise the handling of the sign `-` **has** to be taken into account. If the sign is encountered before any number it should determine the sign of the returned `int`.
- For this exercise the handling of the `-` sign **has** to be taken into account. If the sign is encountered before any number it should determine the sign of the returned `int`.
- This function will **only** return an `int`. In case of invalid input, the function should return `0`.