Directly write integer or long as string.