🔊 formating numbers

master
Martin Zwigl 2025-03-22 23:35:22 +01:00
parent bf12d907a5
commit 3cfa1c82d8
2 changed files with 7 additions and 5 deletions

View File

@ -129,15 +129,17 @@ function getChart(period) {
//
function showLowHigh() {
const title = `L/H ${csTokens[ticker]}`;
//
logFile.write("OptSpacing:" + JSON.stringify(optSpacing) + "\n");
const first = ciLib.formatPriceString(optSpacing.first);
const last = ciLib.formatPriceString(optSpacing.last);
const low = ciLib.formatPriceString(optSpacing.low);
const high = ciLib.formatPriceString(optSpacing.high);
// const low = ciLib.formatPriceString(optSpacing.low);
// const high = ciLib.formatPriceString(optSpacing.high);
const msg = `
First: ${first}
Last: ${last}
Low: ${low}
High: ${high}
Low: 0
High: 0
`;
E.showAlert(msg, title).then(function() {
// print("Ok pressed");

View File

@ -1,7 +1,7 @@
{ "id": "coin_info",
"name": "Crypto-Coins Info",
"shortName":"Coins Info",
"version": "0.07.03",
"version": "0.07.04",
"description": "Crypto-Coins Infos with the help of the Binance API",
"icon": "app.png",
"tags": "clkinfo",