Webtags (preserving history): Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
===No Commas===
 
There are a set of tags wherefor use in those locales that use the comma to separate the integer and decimal parts. In these tags available since '''version 1.9.3''' build 1045, the decimal comma has been replaced with a full stop, where necessary, for use with scripts (used for plotting gauges etc.) which don't like the commas. They all correspond to the same tag with 'RC' removed.
 
Although 'Apparent Temperature' is not included as a tag, it can be [[FAQ#What_formula_does_Cumulus_use_for_Apparent_Temperature.3F | calculated]] in a script from the RC tags for 'outside temperature', 'wind speed', and 'relative humidity' values. There are other derivatives that can be calculated similarly from a set of simultaneous values.
<#RCRecentWindChill> <#RCRecentDewPoint> <#RCRecentHeatIndex> <#RCRecentPressure>
<#RCRecentRainToday> <#RCRecentUV>
 
From '''version 3.5.4''', all web tags that produce decimal number output now support the "rc=y" option. e.g. <tt><#tempYH rc=y></tt> will report yesterday's highest temperature using a full stop to separate decimal part where the locale would normally use a comma.
 
=Example of List Web Tags output for MX=
5,838

edits

Navigation menu