Do you read this as "two point seven square kilometer" or "~kilometers"? Singular or plural? What about cubic meter or meters?
ma78),,,The Surtsey eruption continued for a little more than three and a half years. When they stopped, the island had grown to a size of 2.7km2
Two point seven square kilometres. (BrE)
Remember - if you don't use correct capitalisation, punctuation and spacing, anything you write will be incorrect.