Widget:Calculator/Magic/Aurum: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
function wrap(value) { | function wrap(value) { | ||
const formatted = value.toLocaleString("en-US"); | |||
return value < 0 | return value < 0 | ||
? `<span style="color:#ee4231 !important">${ | ? `<span style="color:#ee4231 !important">${formatted}</span> ${coinIcon}` | ||
: `${ | : `${formatted} ${coinIcon}`; | ||
} | } | ||
Revision as of 15:29, 26 June 2025