Added a method to check if a string contains decimals only (localized decimal separator included).