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

Feeds & Internet Data • Re: Market Prices

$
0
0
So as Syd Barret wrote for The Piper at the Gates of Dawn "Let’s try it another way..."
[...]
Much simpler and no more error messages. However, the Substitute will not round the price up correctly as the lua script did.
Understood, but sorry - not acceptable for financials - rounding is mandatory for me. Target is omitting decimals for saving space and relaxing the eyes but they should be rounded correctly...

I also tried using Text=[mIndex1_Price:/1,#DecPlaces1#] this is also very simple and works fine for most prices. But this does NOT work for prices with thousand separator commas such as 41,234 ... Argh, I seem to always run against some wall :-(

Click here --> Option 2 using your lua-rounding-script would be my preferred solution. I tried my best to fix the remaining error, but keeps displaying "ZERO" all the time. I documented what I suspect being the reason behind and what I tried to fix it - I'm sure I made some stupid mistake. Help appreciated.

:confused:

Statistics: Posted by emp00 — Yesterday, 7:51 pm



Viewing all articles
Browse latest Browse all 1431

Trending Articles