-
-
Save pasrom/fd784a6ef23f2e62aac231392ff6bdb4 to your computer and use it in GitHub Desktop.
Coronavirus Scriptable Widget
Danke, ich habe es erfolgreich angepasst.
Am Mo., 16. Nov. 2020 um 19:21 Uhr schrieb Roman Passler <
notifications@github.com>:
… ***@***.**** commented on this gist.
------------------------------
Hallo @hxperman <https://github.com/hxperman>,
ich habe an diesem Script nichts geändert, das kommt von
https://gist.github.com/planecore/e7b4c1e5db2dd28b1a023860e831355e
Bei deinem Darstellungsproblem kann ich dir helfen, verwende hierzu die
Funktion toFixed() (siehe
https://www.w3schools.com/jsref/jsref_tofixed.asp). Z. B.:
table.addRow(createRow("Today", res.todayCases.toFixed(2)))
Beste Grüße
pasrom
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://gist.github.com/fd784a6ef23f2e62aac231392ff6bdb4#gistcomment-3529489>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARXUJJO2RW57QYXFCBSCVNDSQFUT7ANCNFSM4TUIVHSQ>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hallo @hxperman,
ich habe an diesem Script nichts geändert, das kommt von https://gist.github.com/planecore/e7b4c1e5db2dd28b1a023860e831355e
Bei deinem Darstellungsproblem kann ich dir helfen, verwende hierzu die Funktion
toFixed()
(siehe https://www.w3schools.com/jsref/jsref_tofixed.asp). Z. B.:Beste Grüße
pasrom