<?php printf("Please pay $%.2f. ", 42.4242); ?>
Maths: %d; English: %d; History: %d; Biology: %d.
and