You could either use a template column to replace all of the numbers with the strikethrough version of the same number, or you could create a javascript code column that converts it like this:
return strikeThrough(p1.toString());
function strikeThrough(text) {
return text
.split('')
.map(char => char + '\u0336')
.join('')
}
The problem is that it loses the formatting from the number column, so you could use something like this version, which adds the ‘Rp’ and adds the thousands separator. It doesn’t add the decimal if it’s zero, but probably could be done if needed.
return strikeThrough("Rp " + p1.toLocaleString());
function strikeThrough(text) {
return text
.split('')
.map(char => char + '\u0336')
.join('')
}
The end result looks like this in a card: