1// Cent-integer money formatting, shared by the controllers that recompute a 2// total client-side. Server-rendered amounts use number_to_currency instead. 3 4export function formatMoney(cents) { 5 return new Intl.NumberFormat("en-US", { style: "currency", currency: "USD" }).format(cents / 100) 6}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.