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

Function formatValue

guenstigsteTankstelleAT.js:50–54  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

48}
49
50function formatValue(value) {
51 let lastDigit = '⁹'
52 let price = value.toString().slice(0, -1)
53 return price + lastDigit + "€"
54}
55
56function createList(data) {
57 const list = new ListWidget()

Callers 1

createWidgetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected