🔊 formating numbers
parent
bf12d907a5
commit
3cfa1c82d8
|
|
@ -129,15 +129,17 @@ function getChart(period) {
|
||||||
//
|
//
|
||||||
function showLowHigh() {
|
function showLowHigh() {
|
||||||
const title = `L/H ${csTokens[ticker]}`;
|
const title = `L/H ${csTokens[ticker]}`;
|
||||||
|
//
|
||||||
|
logFile.write("OptSpacing:" + JSON.stringify(optSpacing) + "\n");
|
||||||
const first = ciLib.formatPriceString(optSpacing.first);
|
const first = ciLib.formatPriceString(optSpacing.first);
|
||||||
const last = ciLib.formatPriceString(optSpacing.last);
|
const last = ciLib.formatPriceString(optSpacing.last);
|
||||||
const low = ciLib.formatPriceString(optSpacing.low);
|
// const low = ciLib.formatPriceString(optSpacing.low);
|
||||||
const high = ciLib.formatPriceString(optSpacing.high);
|
// const high = ciLib.formatPriceString(optSpacing.high);
|
||||||
const msg = `
|
const msg = `
|
||||||
First: ${first}
|
First: ${first}
|
||||||
Last: ${last}
|
Last: ${last}
|
||||||
Low: ${low}
|
Low: 0
|
||||||
High: ${high}
|
High: 0
|
||||||
`;
|
`;
|
||||||
E.showAlert(msg, title).then(function() {
|
E.showAlert(msg, title).then(function() {
|
||||||
// print("Ok pressed");
|
// print("Ok pressed");
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ "id": "coin_info",
|
{ "id": "coin_info",
|
||||||
"name": "Crypto-Coins Info",
|
"name": "Crypto-Coins Info",
|
||||||
"shortName":"Coins Info",
|
"shortName":"Coins Info",
|
||||||
"version": "0.07.03",
|
"version": "0.07.04",
|
||||||
"description": "Crypto-Coins Infos with the help of the Binance API",
|
"description": "Crypto-Coins Infos with the help of the Binance API",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "clkinfo",
|
"tags": "clkinfo",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue