The walkthrough parsed a score and compared large ticket IDs. Now build a separate ledger that stores one large identifier and calculates a normal currency total.
BigInt identifies large whole numbers; convert it before combining it with ordinary decimal arithmetic:
const crateId = 9007199254740995n;
const unitPrice = Number("7.50");
console.log(typeof crateId, 2 * unitPrice); // bigint 15
ticketId with the BigInt value 9007199254740993n.ticketPrice by converting the text "19.50" with Number().calculateTotal(ticketCount, price) so calculateTotal(3n, 19.5) returns 58.5.Ticket 9007199254740993 | Total: 58.5 on its own Console line.Use Number("19.50") to convert the price text.
Convert a small BigInt count before multiplying it by a Number price.