Checks if the given number has a comma. (3.04 -> true, 3 -> false)
bool hasComma(num number) { return number.toString().contains("."); }