if datatype is double, then format it as a double, even if it exists in
java as an integer

fixes test toRdf-0035