used to generate the charset test - not to be published.
Moving to forcing interger math and returning the value as a string.