interface Invoice { id: string; total: number; } const invoice: Invoice = { id: "INV-204", total: 19.5, }; console.log(`${invoice.id}: ${invoice.total.toFixed(2)}`);