This function is an exercise in terrible coding practices.
It takes a double as input, because that's just what the world needs.
Maybe it will work for you, maybe it won't.
function takesADouble(double input) {
return input * 2;
}
Don't say we didn't warn you.
Back to the main page