Webtags/Parameters: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
410 bytes added ,  12:13, 2 October 2022
m
Line 88: Line 88:
(And of course you need a solar sensor for this)
(And of course you need a solar sensor for this)


== Description of Output modification parameters ==
== Output modification parameters ==
The output format for numbers and dates is ruled by the international settings (Windows) or locale settings (Linux). These settings are hereafter named the locale or locale settings. So if you want to have other formats for numbers and dates than you are seeing in your website or your reports, than your first step should be to check and possibly reconsider your locale. Beside that you must know that javascript does not handle a comma as decimal seperator. So if you wish to see a comma as decimal separator you probably must take some special precautions.
The output format for numbers and dates is ruled by the international settings (Windows) or locale settings (Linux). These settings are hereafter named the locale or locale settings. So if you want to have other formats for numbers and dates than you are seeing in your website or your reports, than your first step should be to check and possibly reconsider your locale. Beside that you must know that javascript does not handle a comma as decimal seperator. So if you wish to see a comma as decimal separator you probably must take some special precautions.
Each tag name falls into one of these 3 types:
# Some tag names have a fixed output format (so they ignore any output format parameters, although obviously better not to specify any)
# Some tag names always need an output format specifier
# The majority of tag names have a default output if there is no output format modifier, but accept either one or two output format parameters, allowing you to change what they output.


=== Changing the decimal separator ===
=== Changing the decimal separator ===

Navigation menu