0

Supposed to be an easier challenge, but it's not that trivial
How many decimal places?
In this challenge, you will write a program to output how many decimal places are in the input string.
Examples
-12.32
2
32
0
3231.432
3
Rules
Input will be a string which can be taken through, STDI...