Browse Source

docs(not_decimal) : Correct some typo

pull/2076/head
zainab Dnaya 2 years ago committed by MSilva95
parent
commit
13333923fb
  1. 13
      subjects/not_decimal/README.md

13
subjects/not_decimal/README.md

@ -1,13 +1,12 @@
## Not_decimal
## not_decimal
### Instructions
Write a function called `Not_decimal()` that takes a string in forme of a float number with the decimal point and returns an integer without the decimal point (you muliply by 10^n to remove `.`).
- If the number is doesn'the have a decimal point or there is only zero after `.` return the number followed by a newline (`'\n'`).
- If the argument is empty return newline (`'\n'`).
- If The argument is not a number return it followed by newline (`'\n'`).
Write a function called `Not_decimal` that takes a string in forme of a float number with the decimal point and returns an integer without the decimal point (you muliply by 10^n to remove `.`).
- If the number is doesn'the have a decimal point or there is only zero after `.` return the number followed by a newline `\n`.
- If the argument is empty return newline `\n`.
- If The argument is not a number return it followed by newline `\n`.
### Expected function
@ -47,4 +46,4 @@ $ go run . | cat -e
$
-19525856$
1952$
```
```

Loading…
Cancel
Save