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

Feeds & Internet Data • Re: Market Prices

$
0
0
This is what you suggested for "Price Change" formatting:

[LabelPrice_7]
Meter=STRING
; MeasureName=mIndex7_Price
MeterStyle= sTextRight | sColorSetGray
x=#Col2XPos#
Text=[&mFormatPriceScript:format_price( [&mIndex7_Price] , 2 )]

Is this still the best option?
The [LabelPrice_7] meter displays the Price not the Price Change. If you want to limit the Price Change to two decimal places you need to edit the [LabelIndex7_Change] meter to be like this

Code:

[LabelIndex7_Change]Meter=STRING; -->  MeasureName=mIndex7_ChangeMeterStyle= sTextRight FontColor=#ColorSteady#Text=[&mFormatPriceScript:format_price( [&mIndex7_Change] , 2 )]x=#Col4XPos#

Statistics: Posted by Mordasius — Today, 3:05 am



Viewing all articles
Browse latest Browse all 1539

Trending Articles