🔊 formating numbers
parent
bf12d907a5
commit
3cfa1c82d8
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue