Type cast formatting