primitive cleanup, decimal caliper test, write chars methods.