MCPcopy Create free account
hub / github.com/Necriso/ScriptableWidgets / formatValue

Function formatValue

guenstigsteTankstelle.js:56–60  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

54}
55
56function formatValue(value) {
57 let lastDigit = '⁹'
58 let price = value.toString().slice(0, -1)
59 return price + lastDigit + "€"
60}
61
62function createList(data) {
63 const list = new ListWidget()

Callers 1

createWidgetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected