Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 892

numerical conversion

$
0
0
I have stated the necessary codes and questions below, friends.

Code:

[Rainmeter]Update=1000Author=-MTCHANNEL-BackgroundMode=2SolidColor=0,0,0,1MiddleMouseUpAction=[!Refresh]RightMouseUpAction=[!SkinCustomMenu]DynamicWindowSize=1AccurateText=1MiddleMouseUpAction=[!Refresh]*** APi CONNECT ***---HEROMiNERS-ZEPHYR APi---[Herominers-Zephyr]Measure=WebParserURL=https://zephyr.herominers.com/api/stats_address?address=ZEPHYR3QXQTPQw7pdjRSAyfowgNkrw5ULgbVrPk2yhTAiCSPRJ9Krhm6rQPctkgBw4cghgEyE8sgUUFfBcet9yp1FrdWKLNW3mj3GRegExp=(?siU)"balance":(.*)[,}]UpdateRate=600*** APi CONNECT ****** APi ***[Herominers-Zephyrbalance]Measure=WebParserURL=[Herominers-Zephyr]StringIndex=1RegExpSubstitute=1UpdateDivider=60Substitute="(?:^\s+|\s+$)":"",'(?:^"|"$)':""*** APi ****** TEXT ***[Herominers-ZephyrText]Meter=StringX=80Y=33FontSize=15FontFace=ConsolasStringStyle=BOLDStringEffect=SHADOWAntiAlias=1Text= HEROMiNERSFontColor=255,165,0,255AntiAlias=1[Herominers-ZephyrbalanceText]Meter=StringX=200Y=33FontFace=ConsolasFontColor=255,255,255,255StringStyle=BOLDStringEffect=SHADOWFontEffectColor=0,0,0,50FontSize=15AntiAlias=1MeasureName=Herominers-ZephyrbalanceText= : %1 ZEPHYRDynamicVariables=1*** TEXT ***
google chrome api output ;

Code:

{"stats":{"donation_level":"0","shares_good":111621,"hashes":"14845620142","lastShare":"1715211103","shares_stale":61,"balance":"4805473","minPayoutLevel":"100000000000","shares_invalid":21,"paid":"611500000000","hashrate":0,"roundScore":0,"roundHashes":0,"poolRoundScore":50710175381,"poolRoundHashes":50836925539,"networkHeight":259736,"solo_shares_good":0,"solo_shares_invalid":0,"solo_shares_stale":0,"soloRoundHashes":0,"payments_24h":0,"payments_7d":0},"payments":["b165498484218045587c8fa02efa6e8a7e87f0abc51ff76bf7b0ef2b200d20a3:101100000000:229141333","1715241524","f2a7323f91867be8c1a7e781d9c3df51656cffcc5950a1f2274205a79595de4a:100400000000:208288000","1714942570","4c3783118a79bd80120416149ed84e071c2a7912fd644176db9a97651858f60b:102000000000:208226666","1714561370","194f43180ef53c0a5d90da485638bce93d205636ddd1a7871c47748ff637d4ae:107000000000:208257333","1714168352","1d2de79d9697f1dacea0f34a314fbd7b9a19dfb6563c220225dec27d460260a2:100700000000:208196000","1713833834","9c9af8721be3ac74921d5486dda0300c6d92a8ff1643abdb6b9300f10ca247d0:100300000000:208288000","1713491382"],"charts":{"payments":[[1713491382,"100300000000"],[1713833834,"100700000000"],[1714168352,"107000000000"],[1714561370,"102000000000"],[1714942570,"100400000000"],[1715241524,"101100000000"]],"hashrate":[]},"workers":[],"unlocked":[],"unlocked_daily":[],"unconfirmed":[],"createdAt":1716764045}
aim;
in api output "balance":"4805473" I want to see the balance written as "4805473" as "0.000004805473". Is it possible to do something like this?Since it is very difficult to track and calculate the balance, I need to do something like this.

Statistics: Posted by mtchannel — Yesterday, 11:21 pm — Replies 2 — Views 31



Viewing all articles
Browse latest Browse all 892

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


Sarah Samis, Emil Bove III


ZARIA CUMMINGS


Need radio code for IVECO Delphi Aptiv FJ5 RBT M16


Black Angus Grilled Artichokes


Ed Sheeran – Sapphire – Pre-Single [iTunes Plus M4A]


Sunny Garcia’s Ex-Wife Colleen McCullough


99 God Status for Whatsapp, Facebook


Funeral of Sir Warwick Franklin


MHDD