Write a function doubleValue that takes a parameter value of type AnyVal and returns a new value that is twice the original value. Implement the function to handle different types of AnyVal inputs and perform the doubling operation accordingly.
Double the value based on its type: for numeric types (for simplicity, Int and Double), perform the multiplication by 2; for Char, make a string with two chars.