Problem Statement | |||||||||||||
You are developing a new software calculator. During the testing phase of the software you have found that the test cases use different symbols as the decimal point of floating numbers. Moreover some test cases contain useless space symbols. Now you want to bring the numbers to a unified format. You will be given a String[] numbers. Remove all space symbols (ASCII code 32) from the given numbers and replace each non-digit symbol with a dot symbol ('.'). You should not make any other changes to the numbers. | |||||||||||||
Definition | |||||||||||||
| |||||||||||||
Constraints | |||||||||||||
- | numbers will have between 1 and 50 elements, inclusive. | ||||||||||||
- | Each element of numbers will contain between 1 and 50 characters, inclusive. | ||||||||||||
- | Each character in numbers will have ASCII code between 32 and 127, inclusive. | ||||||||||||
- | Each element of numbers will contain at most one non-space non-digit symbol. | ||||||||||||
- | Each element of numbers will contain at least one digit. | ||||||||||||
Examples | |||||||||||||
0) | |||||||||||||
| |||||||||||||
1) | |||||||||||||
| |||||||||||||
2) | |||||||||||||
|